(PECL stats >= 1.0.0)
stats_stat_binomial_coef — Returns a binomial coefficient
stats_stat_binomial_coef ( int $x , int $n ) : float
Returns the binomial coefficient of n
choose x
.
x
The number of chooses from the set
n
The number of elements in the set
Returns the binomial coefficient
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-stat-binomial-coef.php