RandomPermutation
RandomPermutation(s)create a pseudo random permutation between
1ands.
RandomPermutation(s, n)create
npseudo random permutations.
See
Examples
>> RandomPermutation(10)Cycles({{1,2,7,3,8,10,5,9,4,6}})
>> RandomPermutation(10,3){Cycles({{1,6,4,5,7,10,9,2,3,8}}),Cycles({{1,10,9,4,2,6,3,8,7,5}}),Cycles({{1,4,2,6,8,9,5,7,10,3}})}Implementation status
- ✅ - full supported