ExponentialDist Class Reference

Exponential distribution. More...

#include <XeStat.h>

Inheritance diagram for ExponentialDist:
XeDist XeStat XeMath XeObject XeCore XeCore

List of all members.

Public Member Functions

double cdf (double x)
 return the cumulated distribution function
 ExponentialDist (double x0=1.)
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
void setX0 (double x0)

Static Public Member Functions

static double generate (double x0)
 generate a pseudo random variable according to exponential distribution

Protected Attributes

double x0

Detailed Description

Exponential distribution.


Member Function Documentation

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

return the cumulated distribution function

Parameters:
x the random variable

Implements XeDist.

static double ExponentialDist::generate ( double  x0  )  [static]

generate a pseudo random variable according to exponential distribution

Parameters:
x0 1/slope
double ExponentialDist::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 ExponentialDist::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