Statistic 函数
PHP Manual

stats_rand_gen_ibinomial

(PECL stats >= 1.0.0)

stats_rand_gen_ibinomialGenerates a single random deviate from a binomial distribution whose number of trials is "n" (n >= 0) and whose probability of an event in each trial is "pp" ([0;1]). Method : algorithm BTPE

说明

int stats_rand_gen_ibinomial ( int $n , float $pp )
Warning

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

参数

n

pp

返回值


Statistic 函数
PHP Manual