Macaulay2 » Documentation
Packages » random > random(List)
next | previous | forward | backward | up | index | toc

random(List) -- shuffle a list randomly

Synopsis

Description

i1 : random toList (0 .. 12)

o1 = {5, 3, 6, 8, 1, 2, 0, 9, 11, 4, 7, 12, 10}

o1 : List

See also

Ways to use this method: