desmath ~master (2021-12-18T03:28:57.6940602)
Dub
Repo
partialPermutationCount
des
math
combin
count
equals to fact(n) / fact(n-k)
pure nothrow
long
partialPermutationCount
(
long
n
,
long
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)