CMS 3D CMS Logo

ChiSquaredProbability.cc
Go to the documentation of this file.
1 #ifndef ChiSquaredProbability_H
2 #define ChiSquaredProbability_H
3 
6 
13 float ChiSquaredProbability( double chiSquared, double nrDOF )
14 { return IncompleteGammaComplement::value( nrDOF / 2 , chiSquared / 2 ); }
15 
16 float LnChiSquaredProbability( double chiSquared, double nrDOF )
17 { return IncompleteGammaComplement::ln( nrDOF / 2 , chiSquared / 2 ); }
18 
19 #endif
float LnChiSquaredProbability(double chiSquared, double nrDOF)
float ChiSquaredProbability(double chiSquared, double nrDOF)
static float value(float a, float x)
static float ln(float a, float x)