sample
Draws a single random integer from this Poisson distribution.
For small rates (lambda < 30), uses Knuth's algorithm which multiplies uniform random numbers until their product falls below exp(-lambda). For large rates, uses a normal approximation with the result clamped to non-negative values.
Return
a random non-negative integer drawn from this distribution.
Parameters
random
the source of randomness.