LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::exponentialDistribution Class Reference

Exponentially distributed random number class. More...

#include <ltiExpDist.h>

Inheritance diagram for lti::exponentialDistribution:
Inheritance graph
[legend]
Collaboration diagram for lti::exponentialDistribution:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 exponentialDistribution ()
virtual ~exponentialDistribution ()
virtual double draw () const
virtual functorclone () const
virtual const char * getTypeName () const

Detailed Description

Exponentially distributed random number class.

see for example: Press, Vetterling, Teukolsky, Flannery Numerical Recipes in C, 2nd edition Cambridge University Press, 1992 p. 287


Constructor & Destructor Documentation

lti::exponentialDistribution::exponentialDistribution (  )  [inline]

default constructor.

Referenced by clone().

virtual lti::exponentialDistribution::~exponentialDistribution (  )  [inline, virtual]

destructor


Member Function Documentation

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.


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

Generated on Sat Apr 10 15:28:19 2010 for LTI-Lib by Doxygen 1.6.1