descore ~master (2021-11-17T13:34:47.5426292)
Dub
Repo
partial_permutation
des
math
combin
equals to fact(n) / fact(n-k)
pure nothrow
long
partial_permutation
(
long
n
,
long
k
)
out (res) { assert (res >= 0); }
Meta
Source
See Implementation
des
math
combin
functions
combination
fact
partial_permutation
equals to fact(n) / fact(n-k)