Language Reference


Combinatorial Functions

ALLCOMB function

generates all combinations of n elements taken k at a time

ALLPERM function

generates all permutations of n elements

RANCOMB function

returns random combinations of n elements taken k at a time

RANPERK function

returns generates a random permutation of k elements from a finite set of n elements, $k\leq n$

RANPERM function

returns random permutations of n elements