descore ~master (2015-04-21T20:17:28Z)
Dub
Repo
partial_permutation
des
math
combin
equals to fact(n) / fact(n-k)
pure nothrow
long
partial_permutation
(
long
n
,
long
k
)
in { assert (k > 0); assert (n >= 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)