PHP
数学 | Mathematics

stats_rand_gen_ipoisson

stats_rand_gen_ipoisson

(PECL stats >= 1.0.0)

stats_rand_gen_ipoisson — Generates a single random deviate from a Poisson distribution

Description

int stats_rand_gen_ipoisson ( float $mu )

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

Parameters

mu

The parameter of the Poisson distribution

Return Values

A random deviate

← stats_rand_gen_int

stats_rand_gen_iuniform →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-rand-gen-ipoisson.php