generates a random permutation of the first n natural numbers.
Details and Options
Details and Options
Details and Options
See Also
Tech Notes
Related Guides
Combinatorica`
Combinatorica`
RandomPermutation
generates a random permutation of the first n natural numbers.
Details and Options
- To use RandomPermutation , you first need to load the Combinatorica Package using Needs ["Combinatorica`"].