next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

random(ZZ) -- random integer

Synopsis

Description

i1 : random 57

o1 = 0
i2 : random 10^50

o2 = 13140267479601748299608788527026427732473272462001
i3 : tally apply(100, i -> random 7)

o3 = Tally{0 => 11}
           1 => 16
           2 => 15
           3 => 15
           4 => 18
           5 => 16
           6 => 9

o3 : Tally

See also