- PHP 手册
- 函数参考
- 数学扩展
- Statistics
- Statistic 函数
stats_stat_binomial_coef
(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
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.stats-stat-binomial-coef.php