template<class RNGTYPE>
unsigned int scythe::rng< RNGTYPE >::rpois ( double  lambda  )  [inline]

Generate a Poisson distributed random variate.

This function returns a pseudo-random variate drawn from the Poisson distribution with expected number of occurrences lambda.

Parameters:
lambda The strictly positive expected number of occurrences.
See also:
ppois(double x, double lambda)

dpois(double x, double lambda)

Exceptions:
scythe_invalid_arg (Level 1)


Generated on Wed Aug 15 14:53:57 2007 for Scythe-1.0.2 by  doxygen 1.4.7