Description Usage Arguments Value References Examples
Calculates the binomial coefficient with several different algorithm methods available.
1 | binomial_coefficient(n, k, method = "multiplicative")
|
n |
Number of possibilities |
k |
number of unordered outcomes |
method |
selects the algorithm to use for calculating the binomial coefficient. Options include the multiplicative (default), recursive, or factorial methods. Please note the recursive method can be very slow and is not recommended over other algorithms. |
The binomial coefficient
Binomial coefficient. (2017, April 17). In Wikipedia, The Free Encyclopedia. From https:#en.wikipedia.org/w/index.php?title=Binomial_coefficient&oldid=775905810 Binomial coefficients. Encyclopedia of Mathematics. From http:#www.encyclopediaofmath.org/index.php?title=Binomial_coefficients&oldid=39155 Weisstein, Eric W. "Binomial Coefficient." From MathWorld–A Wolfram Web Resource. http:#mathworld.wolfram.com/BinomialCoefficient.html
1 2 | binomial_coefficient(5, 3)
binomial_coefficient(6, 4, 'factorial')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.