Public Member Functions | List of all members
ibis::discretePoisson Class Reference

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() ()
 

Detailed Description

Discrete random number with Poisson distribution exp(-x/lambda).

Use the rejection-inversion algorithm of W. Hormann and G. Derflinger.


The documentation for this class was generated from the following file:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive