stats_rand_gen_ipoisson
(PECL stats >= 1.0.0)
stats_rand_gen_ipoisson — Generates a single random deviate from a Poisson distribution
Description
stats_rand_gen_ipoisson ( float $mu ) : int
Returns a random deviate from the Poisson distribution with parameter mu
.
Parameters
-
mu
-
The parameter of the Poisson distribution
Return Values
A random deviate
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-rand-gen-ipoisson.php