des.math.combin.count

Members

Functions

combinationCount
long combinationCount(long n, long k)

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

fact
long fact(long n)

factorial

partialPermutationCount
long partialPermutationCount(long n, long k)

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

Meta