12 #include "gsl/gsl_sf_hyperg.h"
22 double noncentral_chisquared_pdf(
double x,
double k,
double lambda) {
26 return ROOT::Math::chisquared_pdf(x,k);
37 ret = std::exp( - 0.5 *(x + lambda) ) * 1./(std::pow(2.0, 0.5 * k) * ROOT::Math::tgamma(0.5*k)) * std::pow( x, 0.5 * k - 1.0)
38 * gsl_sf_hyperg_0F1( 0.5 * k, 0.25 * lambda * x );
48 ret = 0.5 * std::exp(-0.5 * (x+lambda) ) * std::pow(x/lambda, 0.25*k-0.5)
49 * ROOT::Math::cyl_bessel_i (0.5*k-1., std::sqrt(lambda*x));
73 void ROOT::Math::MathMoreLib::Load() {
74 MATH_INFO_MSG(
"MathMoreLibrary",
"libMathMore has been loaded.");