Functions

pick

Supported By

Syntax

the pick of ( n , r )

pick ( n , r )

N and r yield integers, numbers, or complexes.

Description

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 integers or numbers, a number is returned. If either argument is a complex, a complex is returned.

Synonym

nPr

See Also

nCr, choose