pike.hubbe.net

[Top]
Array
previousArray.oid_sort_func() Array.reduce()next

Method Array.permute()


Method permute

array 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

Array.shuffle


Extracted from Pike v7.3 release 11 at 2001-11-03.