PoissonDist Class Reference

Poisson distribution. More...

#include <XeStat.h>

Inheritance diagram for PoissonDist:
XeDist XeStat XeMath XeObject XeCore XeCore

List of all members.

Public Member Functions

double cdf (double x)
 return the cumulated distribution function
double generate ()
 generate a pseudo random variable according to this distribution
double logPdf (double x)
 returns logs of probability density function
double pdf (double x)
 return the normalized probability distribution function
 PoissonDist (double mu)
void setMu (double mu)

Static Public Member Functions

static double above (int n, double m)
static double aboveEqual (int n, double m)
static double below (int n, double m)
static double belowEqual (int n, double m)
static double between (int n1, int n2, double m)
static void fillTable (XeTable &table, double m, double eps)
static double generate (double m)
static double logPdf (double n, double m)
static double logPdf (int n, double m)
static double pdf (double n, double m)
static double pdf (int n, double m)

Protected Attributes

double mu

Detailed Description

Poisson distribution.


Member Function Documentation

double PoissonDist::cdf ( double  x  )  [virtual]

return the cumulated distribution function

Parameters:
x the random variable

Implements XeDist.

double PoissonDist::logPdf ( double  x  )  [virtual]

returns logs of probability density function

Returns:
Log of probability density function
Parameters:
x Point at which is it evaluated

Reimplemented from XeDist.

double PoissonDist::pdf ( double  x  )  [virtual]

return the normalized probability distribution function

Parameters:
x the random variable

Implements XeDist.


The documentation for this class was generated from the following file:
 All Classes Functions Variables

Generated on 10 Apr 2015 for Xephyr by  doxygen 1.6.1