Pike v8.0 release 1738

Method Array.permute()


Method permute

array permute(array in, int(0..) number)

Description

Give a specified permutation of an array.

The number of permutations is equal to sizeof(in)! (the factorial of the size of the given array).

See also

shuffle()