#include <RandomFuns.h>
Inheritance diagram for Poisson1Fun:
Definition at line 128 of file RandomFuns.h.
Public Member Functions | |
Poisson1Fun (const FloatFun &rnd_, double mean_, const char *name_=0) | |
Constructor from a C style string, serves as default constructor. | |
Poisson1Fun (const FloatFun &rnd_, double mean_, const std::string &name_) | |
Constructor from a C++ string. | |
virtual int | operator() () const |
Returns a poisson distributed value. | |
virtual const FillIterator * | getIterator () const |
Returns pointer to iterator, if any. | |
Protected Member Functions | |
virtual | ~Poisson1Fun () |
Protected destructor ensures creation on the heap. | |
Protected Attributes | |
const FloatFun & | rnd |
The random function. | |
double | mean |
|
Constructor from a C style string, serves as default constructor.
Definition at line 135 of file RandomFuns.C. |
|
Constructor from a C++ string.
Definition at line 137 of file RandomFuns.h. |
|
The mean value Definition at line 154 of file RandomFuns.h. Referenced by operator()(), and Poisson1Fun(). |