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

lti::poissonDistribution Class Reference

Poisson distributed random number class. More...

#include <ltiPoissonDist.h>

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

List of all members.

Classes

class  parameters
 parameters class for the poisson distribution More...

Public Member Functions

 poissonDistribution ()
 poissonDistribution (const double mean)
 poissonDistribution (const parameters &theParams)
virtual ~poissonDistribution ()
const parametersgetParameters () const
virtual double draw () const
poissonDistributioncopy (const poissonDistribution &other)
virtual functorclone () const
virtual const char * getTypeName () const

Detailed Description

Poisson distributed random number class.


Constructor & Destructor Documentation

lti::poissonDistribution::poissonDistribution (  )  [inline]

default constructor.

Referenced by clone().

lti::poissonDistribution::poissonDistribution ( const double  mean  ) 

constructor, sets mean.

lti::poissonDistribution::poissonDistribution ( const parameters theParams  ) 

constructor, sets the parameters.

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

destructor


Member Function Documentation

virtual functor* lti::poissonDistribution::clone (  )  const [inline, virtual]

returns a pointer to a clone of the functor.

Reimplemented from lti::continuousRandomDistribution.

References poissonDistribution().

poissonDistribution& lti::poissonDistribution::copy ( const poissonDistribution other  ) 

copy data of "other" functor.

Reimplemented from lti::continuousRandomDistribution.

virtual double lti::poissonDistribution::draw (  )  const [virtual]

returns as a floating-point number an integer value that is a random deviate drawn from a Poisson distribution of the given mean.

Reimplemented from lti::continuousRandomDistribution.

const parameters& lti::poissonDistribution::getParameters (  )  const

returns the current parameters.

Reimplemented from lti::functor.

virtual const char* lti::poissonDistribution::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:35 2010 for LTI-Lib by Doxygen 1.6.1