#include <distributions.h>

Public Member Functions | |
| ChiSquareDistribution (double dof) | |
Initializes the distribution. | |
| double | pdf (double x) const |
| double | cdf (double x) const |
Returns the where . | |
Private Attributes | |
| const double | dof |
| ChiSquareDistribution::ChiSquareDistribution | ( | double | dof | ) |
Initializes the
distribution.
| dof | : The degrees of freedom, . |
| double ChiSquareDistribution::pdf | ( | double | x | ) | const |
| double ChiSquareDistribution::cdf | ( | double | x | ) | const |
Returns the
where
.
| x | : the limit in ![]() |
where
is the argument. However, to avoid the computation of large numbers this actually returns
.
const double ChiSquareDistribution::dof [private] |
Source code hosted by