Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Array

Method Array.permute()


Method permute

array permute(array in, int 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()