random.shuffle

random.shuffle(e: ordinal) 🡒 ordinal, general function

Returns a random permutation of the input vector.

table T[dim] = extend.range(6)

T.SuffledDim = random.shuffle(dim)
T.ShuffledN = T.N[T.SuffledDim] default fail

show table "" a1b7 with T.N, T.ShuffledN
User Contributed Notes
0 notes + add a note