Binomial
returns the binomial coefficient of the 2 integers
n
andk
For negative integers k
this function will return 0
no matter what value is the other argument n
.
See:
- Wikipedia - Binomial coefficient
- John D. Cook - Binomial coefficients definition
- Kronenburg 2011 - The Binomial Coefficient for Negative Arguments
- Fungrim - Factorials and binomial coefficients
Examples
Implementation status
- ☑ - partially implemented