Poisson distribution. More...
#include <XeStat.h>
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 |
Poisson distribution.
| double PoissonDist::cdf | ( | double | x | ) | [virtual] |
| double PoissonDist::logPdf | ( | double | x | ) | [virtual] |
returns logs of probability density function
| x | Point at which is it evaluated |
Reimplemented from XeDist.
| double PoissonDist::pdf | ( | double | x | ) | [virtual] |
return the normalized probability distribution function
| x | the random variable |
Implements XeDist.
1.6.1