Statistic 函数
PHP 手册

stats_rand_gen_ibinomial_negative

(PECL stats >= 1.0.0)

stats_rand_gen_ibinomial_negativeGenerates a single random deviate from a negative binomial distribution. Arguments : n - the number of trials in the negative binomial distribution from which a random deviate is to be generated (n > 0), p - the probability of an event (0 < p < 1)).

说明

int stats_rand_gen_ibinomial_negative ( int $n , float $p )
Warning

本函数还未编写文档,仅有参数列表。

参数

n

p

返回值


Statistic 函数
PHP 手册