shuffle Lshuffle(L, n)
|
Mutable lists are shuffled in place.
|
|
Is n is given, then a shuffled random sublist of length n is returned. Contrast this with randomSubset, which preserves the order.
|
Currently, random has this behavior when given a list. However, in the near future, this will change to the behavior of randomElement.
|
The object shuffle is a method function.
The source of this document is in Macaulay2Doc/functions/shuffle-doc.m2:43:0.