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

Method Array.combinations()


Method combinations

array(array) combinations(array arr, int len)

Description

Returns an array of all combinations of length len of elements from arr .

See also

permute()