Discrete random number with Poisson distribution exp(-x/lambda). More...
#include <twister.h>
Public Member Functions | |
discretePoisson (ibis::uniformRandomNumber &ur, const double lam=1.0, long m=0) | |
long | next () |
long | operator() () |
Discrete random number with Poisson distribution exp(-x/lambda).
Use the rejection-inversion algorithm of W. Hormann and G. Derflinger.