des.math.combin

Members

Functions

combination
long combination(long n, long k)

equals to fact(n) / ( fact(k) * fact( n-k ) )

fact
long fact(long a)

factorial

partial_permutation
long partial_permutation(long n, long k)

equals to fact(n) / fact(n-k)

Meta