stats_rand_gen_ipoisson

(PECL stats >= 1.0.0)

stats_rand_gen_ipoissonGenerates a single random deviate from a Poisson distribution

说明

stats_rand_gen_ipoisson(float $mu): int

Returns a random deviate from the Poisson distribution with parameter mu.

参数

mu

The parameter of the Poisson distribution

返回值

A random deviate