latest version v1.9 - last update 10 Apr 2010 |
Exponentially distributed random number class. More...
#include <ltiExpDist.h>
Public Member Functions | |
exponentialDistribution () | |
virtual | ~exponentialDistribution () |
virtual double | draw () const |
virtual functor * | clone () const |
virtual const char * | getTypeName () const |
Exponentially distributed random number class.
see for example: Press, Vetterling, Teukolsky, Flannery Numerical Recipes in C, 2nd edition Cambridge University Press, 1992 p. 287
lti::exponentialDistribution::exponentialDistribution | ( | ) | [inline] |
default constructor.
Referenced by clone().
virtual lti::exponentialDistribution::~exponentialDistribution | ( | ) | [inline, virtual] |
destructor
virtual functor* lti::exponentialDistribution::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the functor.
Reimplemented from lti::continuousRandomDistribution.
References exponentialDistribution().
virtual double lti::exponentialDistribution::draw | ( | ) | const [virtual] |
returns an exponentially distributed, positive, random deviate of unit mean.
Reimplemented from lti::continuousRandomDistribution.
virtual const char* lti::exponentialDistribution::getTypeName | ( | void | ) | const [inline, virtual] |
returns the name of this type
Reimplemented from lti::continuousRandomDistribution.