PHP 8.3.0 RC 6 available for testing

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top