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

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

Synopsis

Description

i1 : setRandomSeed 123456

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

o2 = {8, 29, 5, 22, 4, 32, 35, 57, 3, 95, 36}

o2 : List
i3 : setRandomSeed 123456

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

o4 = {8, 29, 5, 22, 4, 32, 35, 57, 3, 95, 36}

o4 : List

See also