31 #ifndef GUM_CHI_SQUARE_H 32 # define GUM_CHI_SQUARE_H 69 static constexpr
double __I_SQRT_PI = 0.5641895835477562869480795;
72 static constexpr
double __BIGX = 20.0;
80 static double __exp(
double x) {
return (((x) < -__BIGX) ? 0.0 : exp(x)); }
88 #endif // GUM_CHI_SQUARE_H Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
static constexpr double __LOG_SQRT_PI
log (sqrt (pi))
static constexpr double __BIGX
max value to represent exp (x)
static double __probaZValue(double z)
computes the probability of normal z value (used by the cache)
static double __exp(double x)
Required constant to compute the cdf.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
static constexpr double __I_SQRT_PI
1 / sqrt (pi)
static constexpr double __Z_MAX
Required constant to compute the cdf.
static constexpr double __CHI_MAX
maximum chi square value
static double probaChi2(double x, Size df)
computes the probability of chi2 value (used by the cache)
static constexpr double __CHI_EPSILON
accuracy of critchi approximation
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
<agrum/FMDP/learning/core/testPolicy/chiSquare.h>