desmath ~master (2016-01-06T21:44:09Z)
Dub
Repo
combinationCount
des
math
combin
count
equals to fact(n) / ( fact(k) * fact( n-k ) )
long
combinationCount
pure nothrow
(
long
n
,
long
k
)
in { assert (k > 0); assert (n >= 0); }
out (res) { assert (res >= 0); }
Meta
Source
See Implementation
des
math
combin
count
functions
combinationCount
fact
partialPermutationCount
equals to fact(n) / ( fact(k) * fact( n-k ) )