60 x = ((((((((0.000124818987 * w - 0.001075204047) * w + 0.005198775019) * w
76 (((((((((((((-0.000045255659 * y + 0.000152529290) * y - 0.000019538132)
111 return (z > 0.0 ? ((x + 1.0) * 0.5) : ((1.0 - x) * 0.5));
129 if ((x <= 0.0) || (df < 1)) {
135 even = (2 * (df / 2)) == df;
137 if (df > 1) y =
__exp(-a);
142 x = 0.5 * (df - 1.0);
143 z = (even ? 1.0 : 0.5);
151 s +=
__exp(c * z - a - e);
169 retVal = (c * y + s);
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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
static double probaChi2(double x, Size df)
computes the probability of chi2 value (used by the cache)
std::size_t Size
In aGrUM, hashed values are unsigned long int.