the
pick
of
(
n ,
r )
pick
(
n ,
r )
N and r yield integer
s, number
s, or complex
es.
The pick
function returns the number of permutations where n is the number of things to choose from and r is the number of things chosen.
The formula for the pick
function is:
pick
(n,r) = fact
(n) / fact
(n-r)
The pick
function is faster and more accurate than using the above formula.
If both arguments are integer
s or number
s, a number
is returned. If either argument is a complex
, a complex
is returned.