11#ifndef ROOT_Math_ProbFuncMathCore
12#define ROOT_Math_ProbFuncMathCore
331 double gamma_cdf_c(
double x,
double alpha,
double theta,
double x0 = 0);
352 double gamma_cdf(
double x,
double alpha,
double theta,
double x0 = 0);
383 double landau_cdf(
double x,
double xi = 1,
double x0 = 0);
613 double binomial_cdf(
unsigned int k,
double p,
unsigned int n);
640#ifdef HAVE_OLD_STAT_FUNC
645 inline double breitwigner_prob(
double x,
double gamma,
double x0 = 0) {
648 inline double breitwigner_quant(
double x,
double gamma,
double x0 = 0) {
652 inline double cauchy_prob(
double x,
double b,
double x0 = 0) {
655 inline double cauchy_quant(
double x,
double b,
double x0 = 0) {
658 inline double chisquared_prob(
double x,
double r,
double x0 = 0) {
661 inline double chisquared_quant(
double x,
double r,
double x0 = 0) {
664 inline double exponential_prob(
double x,
double lambda,
double x0 = 0) {
667 inline double exponential_quant(
double x,
double lambda,
double x0 = 0) {
671 inline double gaussian_prob(
double x,
double sigma,
double x0 = 0) {
674 inline double gaussian_quant(
double x,
double sigma,
double x0 = 0) {
678 inline double lognormal_prob(
double x,
double m,
double s,
double x0 = 0) {
681 inline double lognormal_quant(
double x,
double m,
double s,
double x0 = 0) {
685 inline double normal_prob(
double x,
double sigma,
double x0 = 0) {
688 inline double normal_quant(
double x,
double sigma,
double x0 = 0) {
692 inline double uniform_prob(
double x,
double a,
double b,
double x0 = 0) {
695 inline double uniform_quant(
double x,
double a,
double b,
double x0 = 0) {
698 inline double fdistribution_prob(
double x,
double n,
double m,
double x0 = 0) {
701 inline double fdistribution_quant(
double x,
double n,
double m,
double x0 = 0) {
705 inline double gamma_prob(
double x,
double alpha,
double theta,
double x0 = 0) {
708 inline double gamma_quant(
double x,
double alpha,
double theta,
double x0 = 0) {
712 inline double tdistribution_prob(
double x,
double r,
double x0 = 0) {
716 inline double tdistribution_quant(
double x,
double r,
double x0 = 0) {
758 double landau_xm1(
double x,
double xi = 1,
double x0 = 0);
785 double landau_xm2(
double x,
double xi = 1,
double x0 = 0);
double poisson_cdf(unsigned int n, double mu)
Cumulative distribution function of the Poisson distribution Lower tail of the integral of the poisso...
double crystalball_integral(double x, double alpha, double n, double sigma, double x0=0)
Integral of the not-normalized Crystal Ball function.
double uniform_cdf(double x, double a, double b, double x0=0)
Cumulative distribution function of the uniform (flat) distribution (lower tail).
double binomial_cdf_c(unsigned int k, double p, unsigned int n)
Complement of the cumulative distribution function of the Binomial distribution.
double lognormal_cdf(double x, double m, double s, double x0=0)
Cumulative distribution function of the lognormal distribution (lower tail).
double cauchy_cdf_c(double x, double b, double x0=0)
Complement of the cumulative distribution function (upper tail) of the Cauchy distribution which is a...
double fdistribution_cdf(double x, double n, double m, double x0=0)
Cumulative distribution function of the F-distribution (lower tail).
double binomial_cdf(unsigned int k, double p, unsigned int n)
Cumulative distribution function of the Binomial distribution Lower tail of the integral of the binom...
double landau_cdf(double x, double xi=1, double x0=0)
Cumulative distribution function of the Landau distribution (lower tail).
double lognormal_cdf_c(double x, double m, double s, double x0=0)
Complement of the cumulative distribution function of the lognormal distribution (upper tail).
double uniform_cdf_c(double x, double a, double b, double x0=0)
Complement of the cumulative distribution function of the uniform (flat) distribution (upper tail).
double fdistribution_cdf_c(double x, double n, double m, double x0=0)
Complement of the cumulative distribution function of the F-distribution (upper tail).
double crystalball_cdf_c(double x, double alpha, double n, double sigma, double x0=0)
Complement of the Cumulative distribution for the Crystal Ball distribution.
double normal_cdf_c(double x, double sigma=1, double x0=0)
Complement of the cumulative distribution function of the normal (Gaussian) distribution (upper tail)...
double landau_cdf_c(double x, double xi=1, double x0=0)
Complement of the distribution function of the Landau distribution (upper tail).
double chisquared_cdf(double x, double r, double x0=0)
Cumulative distribution function of the distribution with degrees of freedom (lower tail).
double negative_binomial_cdf_c(unsigned int k, double p, double n)
Complement of the cumulative distribution function of the Negative Binomial distribution.
double gamma_cdf_c(double x, double alpha, double theta, double x0=0)
Complement of the cumulative distribution function of the gamma distribution (upper tail).
double beta_cdf(double x, double a, double b)
Cumulative distribution function of the beta distribution Upper tail of the integral of the beta_pdf.
double crystalball_cdf(double x, double alpha, double n, double sigma, double x0=0)
Cumulative distribution for the Crystal Ball distribution function.
double negative_binomial_cdf(unsigned int k, double p, double n)
Cumulative distribution function of the Negative Binomial distribution Lower tail of the integral of ...
double breitwigner_cdf_c(double x, double gamma, double x0=0)
Complement of the cumulative distribution function (upper tail) of the Breit_Wigner distribution and ...
double normal_cdf(double x, double sigma=1, double x0=0)
Cumulative distribution function of the normal (Gaussian) distribution (lower tail).
double breitwigner_cdf(double x, double gamma, double x0=0)
Cumulative distribution function (lower tail) of the Breit_Wigner distribution and it is similar (jus...
double exponential_cdf_c(double x, double lambda, double x0=0)
Complement of the cumulative distribution function of the exponential distribution (upper tail).
double tdistribution_cdf(double x, double r, double x0=0)
Cumulative distribution function of Student's t-distribution (lower tail).
double beta_cdf_c(double x, double a, double b)
Complement of the cumulative distribution function of the beta distribution.
double poisson_cdf_c(unsigned int n, double mu)
Complement of the cumulative distribution function of the Poisson distribution.
double chisquared_cdf_c(double x, double r, double x0=0)
Complement of the cumulative distribution function of the distribution with degrees of freedom (upp...
double cauchy_cdf(double x, double b, double x0=0)
Cumulative distribution function (lower tail) of the Cauchy distribution which is also Lorentzian dis...
double tdistribution_cdf_c(double x, double r, double x0=0)
Complement of the cumulative distribution function of Student's t-distribution (upper tail).
double gamma_cdf(double x, double alpha, double theta, double x0=0)
Cumulative distribution function of the gamma distribution (lower tail).
double exponential_cdf(double x, double lambda, double x0=0)
Cumulative distribution function of the exponential distribution (lower tail).
double landau_xm1(double x, double xi=1, double x0=0)
First moment (mean) of the truncated Landau distribution.
double landau_xm2(double x, double xi=1, double x0=0)
Second moment of the truncated Landau distribution.
Namespace for new Math classes and functions.
double gaussian_cdf(double x, double sigma=1, double x0=0)
Alternative name for same function.
double gaussian_cdf_c(double x, double sigma=1, double x0=0)
Alternative name for same function.
static constexpr double s