Module combinatorics

Module combinatorics 

Source
Expand description

Provides utility functions for various numerical and combinatorial operations. Provides functions for combinatorial calculations.

Functionsยง

combination
Calculate the number of combinations of n items taken k at a time.
factorial
Calculate the factorial of a number n.
permutation
Calculate the number of permutations of n items taken k at a time.