Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

plPoisson Class Reference

This class implements the Poisson distribution. More...

#include <plPoisson.h>

Inheritance diagram for plPoisson:

Inheritance graph
[legend]
Collaboration diagram for plPoisson:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 plPoisson (const plSymbol &variable, plFloat mean)
 Constructs a Poisson distribution on the domain of the {variable}.
virtual ~plPoisson ()
 Destroys the kernel.

Detailed Description

This class implements the Poisson distribution.

Definition at line 30 of file plPoisson.h.


Constructor & Destructor Documentation

plPoisson::plPoisson const plSymbol variable,
plFloat  mean
 

Constructs a Poisson distribution on the domain of the {variable}.

The value "mean" (also called lambda) is the mean of the distribution.
The variable "variable" has to take solely positive or null integer values.
The formula for Poisson distribution is: p(x)= exp(-mean) * mean^x / x!


The documentation for this class was generated from the following file:
Generated on Fri Apr 1 10:59:32 2005 for ProBT by  doxygen 1.4.1