23 #ifndef EXP_RANDOMDEV_H
24 #define EXP_RANDOMDEV_H
63 using RandomDev::operator();
79 return -std::log(rthrd->drandpos()) /
lambda_;
virtual double operator()(void)
Operator delivering doubles.
Definition: randomdev.h:199
void set_status(const DictionaryDatum &)
set distribution parameters from SLI dict
Definition: exp_randomdev.cpp:26
double lambda_
rate parameter
Definition: exp_randomdev.h:73
Abstract base class for access to non-uniform random deviate generators.
Definition: randomdev.h:131
ExpRandomDev()
Definition: exp_randomdev.h:61
ExpRandomDev(RngPtr r_in)
Definition: exp_randomdev.h:60
void get_status(DictionaryDatum &) const
get distribution parameters from SLI dict
Definition: exp_randomdev.cpp:38
Class ExpRandomDev Create exponential random numbers.
Definition: exp_randomdev.h:52