Function: binomialCoefficient()
binomialCoefficient(
n,k):number
Defined in: functions/binomialCoefficient.ts:14
Returns the binomial coefficient of the given integers.
Parameters
n
number
The first integer.
k
number
The second integer. Must be 0 or greater and less than or equal to n.
Returns
number
The binomial coefficient of n and k.
Deprecated
Use the binomCoef() function instead.
Example
binomialCoefficient(5, 2); // 10