#include <distributions.h>
Public Member Functions | |
ChiSquareDistribution (double dof) | |
Initializes the ![]() | |
double | pdf (double x) const |
double | cdf (double x) const |
Returns the ![]() ![]() | |
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 ![]() ![]() |
const double ChiSquareDistribution::dof [private] |