PHP - Manual: stats_stat_binomial_coef
2024-12-26
(PECL stats >= 1.0.0)
stats_stat_binomial_coef — Returns a binomial coefficient
$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
官方地址:https://www.php.net/manual/en/function.stats-stat-binomial-coef.php