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