of a random selection from a given set of elements. There are two main algorithms for constructing random permutations. The first constructs a vector of random ...
mathworld.wolfram.com