Generate Poisson distributed random number. This implementation switches between two algorithms (Knuth's and Hormann's) as lambda gets large (10).
lambda
See Knuth 1994 (or on wikipedia) and Hormann and Derflinger 1994 for details.
Random number state
The mean (and variance!) of the distribution
Generated using TypeDoc
Generate Poisson distributed random number. This implementation switches between two algorithms (Knuth's and Hormann's) as
lambda
gets large (10).See Knuth 1994 (or on wikipedia) and Hormann and Derflinger 1994 for details.