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

random(List) -- shuffle a list randomly

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:


The source of this document is in Macaulay2Doc/functions/random-doc.m2:262:0.