next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: setRandomSeed(String)

setRandomSeed(String) -- set starting point for random number generator

Synopsis

Description

i1 : setRandomSeed "thrkwjsxz"

o1 = 1267386136561992923
i2 : for i to 10 list random 100

o2 = {28, 70, 67, 31, 68, 14, 42, 24, 16, 14, 51}

o2 : List
i3 : setRandomSeed "thrkwjsxz"

o3 = 1267386136561992923
i4 : for i to 10 list random 100

o4 = {28, 70, 67, 31, 68, 14, 42, 24, 16, 14, 51}

o4 : List

See also