Function random_poisson(double)#
Defined in File random.cpp
Function Documentation#
-
long long int random_poisson(double lambda)
Returns a random draw (non-negative integer) from the Poisson distribution with mean lambda (using normal distribution approximation when lambda > 30)
- Parameters:
lambda – [in] mean of the distribution
- Returns:
The random number.