12#include "gsl/gsl_sf_hyperg.h"
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)
74 MATH_INFO_MSG(
"MathMoreLibrary",
"libMathMore has been loaded.");
#define MATH_INFO_MSG(loc, str)
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
double chisquared_pdf(double x, double r, double x0=0)
Probability density function of the distribution with degrees of freedom.
double noncentral_chisquared_pdf(double x, double r, double lambda)
Probability density function of the non central distribution with degrees of freedom and the noon-c...
double tgamma(double x)
The gamma function is defined to be the extension of the factorial to real numbers.
double cyl_bessel_i(double nu, double x)
Calculates the modified Bessel function of the first kind (also called regular modified (cylindrical)...
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.