PHP
数学 | Mathematics

stats_stat_binomial_coef

stats_stat_binomial_coef

(PECL stats >= 1.0.0)

stats_stat_binomial_coef — Returns a binomial coefficient

Description

float stats_stat_binomial_coef ( int $x , int $n )

Returns the binomial coefficient of n choose x.

Parameters

x

The number of chooses from the set

n

The number of elements in the set

Return Values

Returns the binomial coefficient

← stats_standard_deviation

stats_stat_correlation →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-stat-binomial-coef.php