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

plGamma Class Reference

This class implements the Gamma distribution. More...

#include <plGamma.h>

Inheritance diagram for plGamma:

Inheritance graph
[legend]
Collaboration diagram for plGamma:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 plGamma (const plVariablesConjunction &V, plFloat a, plFloat b, plFloat mu=PL_ZERO)
 Constructs a Gamma distribution on the domain of {V}.
virtual ~plGamma ()
 Destroys the kernel.

Detailed Description

This class implements the Gamma distribution.

Definition at line 30 of file plGamma.h.


Constructor & Destructor Documentation

plGamma::plGamma const plVariablesConjunction V,
plFloat  a,
plFloat  b,
plFloat  mu = PL_ZERO
 

Constructs a Gamma distribution on the domain of {V}.

{a} is the shape parameter (kown as {alpha} or {gamma}).
{b} is the scale parameter (known as {beta}).
{mu} is the location parameter.
If {mu} is not defined, {mu = 0} is used.
{a} and {b} must be > 0 and {x} (the variable) must be >= {mu}.
The case : {mu = 0, b = 1} gives the standard gamma distribution.
Definiton of gamma density: f(x)= (x-mu)^a-1 * exp (-(x-mu)/b) / (b^a * gamma(a))


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