Math

Namespace

Math

A math namespace - all functions can be exported from base/math.mjs.

Description:
  • A math namespace - all functions can be exported from base/math.mjs. Also all these functions can be used with TFormula calcualtions

Source:

Methods

(static) Beta()

Calculates Beta-function Gamma(p)*Gamma(q)/Gamma(p+q).

Source:

(static) BetaDist()

Computes the probability density function of the Beta distribution

Source:

(static) BetaDistI()

Computes the distribution function of the Beta distribution.

Source:

(static) BreitWigner()

BreitWigner function

Source:

(static) Chebyshev0()

Chebyshev0 function

Source:

(static) Chebyshev1()

Chebyshev1 function

Source:

(static) Chebyshev10()

Chebyshev10 function

Source:

(static) Chebyshev2()

Chebyshev2 function

Source:

(static) Chebyshev3()

Chebyshev3 function

Source:

(static) Chebyshev4()

Chebyshev4 function

Source:

(static) Chebyshev5()

Chebyshev5 function

Source:

(static) Chebyshev6()

Chebyshev6 function

Source:

(static) Chebyshev7()

Chebyshev7 function

Source:

(static) Chebyshev8()

Chebyshev8 function

Source:

(static) Chebyshev9()

Chebyshev9 function

Source:

(static) ChebyshevN()

ChebyshevN function

Source:

(static) GammaDist()

GammaDist function

Source:

(static) Gaus()

Gaus function

Source:

(static) InvPi()

InvPi function

Source:

(static) Landau()

Landau function

Source:

(static) LaplaceDist()

probability density function of Laplace distribution

Source:

(static) LaplaceDistI()

distribution function of Laplace distribution

Source:

(static) LogNormal()

LogNormal function

Source:

(static) Pi()

Pi function

Source:

(static) PiOver2()

PiOver2 function

Source:

(static) PiOver4()

PiOver4 function

Source:

(static) Polynomial1eval()

Polynomial1eval function

Description:
  • calculates a value of a polynomial of the form: x^N+a[0]x^(N-1) + ... + a[N-1]

Source:

(static) Polynomialeval()

Polynomialeval function

Description:
  • calculates a value of a polynomial of the form: a[0]x^N+a[1]x^(N-1) + ... + a[N]

Source:

(static) Prob()

Prob function

Source:

(static) Sq()

Square function

Source:

(static) Student()

density function for Student's t- distribution

Source:

(static) StudentI()

cumulative distribution function of Student's

Source:

(static) TwoPi()

TwoPi function

Source:

(static) beta()

beta

Source:

(static) beta_cdf_c()

Complement of the cumulative distribution function of the beta distribution.

Source:

(static) beta_pdf()

Probability density function of the beta distribution.

Source:

(static) beta_quantile()

ROOT::Math::beta_quantile

Source:

(static) breitwigner_cdf()

breitwigner_cdf function

Source:

(static) breitwigner_cdf_c()

breitwigner_cdf_c function

Source:

(static) cauchy_cdf()

cauchy_cdf function

Source:

(static) cauchy_cdf_c()

cauchy_cdf_c function

Source:

(static) cauchy_pdf()

cauchy_pdf function

Source:

(static) chisquared_cdf()

chisquared_cdf

Source:

(static) chisquared_cdf_c()

chisquared_cdf_c

Source:

(static) chisquared_pdf()

chisquared_pdf

Source:

(static) crystalball_cdf()

crystalball_cdf function

Source:

(static) crystalball_cdf_c()

crystalball_cdf_c function

Source:

(static) crystalball_function()

Crystal ball function

Source:

(static) crystalball_integral()

compute the integral of the crystal ball function

Source:

(static) crystalball_pdf()

pdf definition of the crystal_ball which is defined only for n > 1 otherwise integral is diverging

Source:

(static) eff_AgrestiCoull()

Calculates the boundaries for the frequentist Agresti-Coull interval

Source:

(static) eff_Bayesian()

for a central confidence interval for a Beta distribution

Source:

(static) eff_ClopperPearson()

Caluclate ClopperPearson

Source:

(static) eff_MidPInterval()

Calculates the boundaries using the mid-P binomial

Source:

(static) eff_Normal()

Caluclate normal

Source:

(static) eff_Wilson()

Calculates the boundaries for the frequentist Wilson interval

Source:

(static) erf()

error function

Source:

(static) erfc()

complementary error function

Source:

(static) expo()

expo function for TFormula

Source:

(static) exponential_cdf()

exponential_cdf function

Source:

(static) exponential_cdf_c()

exponential_cdf_c function

Source:

(static) fdistribution_cdf()

fdistribution_cdf function

Source:

(static) fdistribution_cdf_c()

fdistribution_cdf_c function

Source:

(static) fdistribution_pdf()

Probability density function of the F-distribution.

Source:

(static) gamma()

gamma calculation

Source:

(static) gamma_pdf()

gamma_pdf function

Source:

(static) gamma_quantile()

gamma_quantile function

Source:

(static) gamma_quantile_c()

gamma_quantile_c function

Source:

(static) gaus()

gaus function for TFormula

Source:

(static) gausn()

gausn function for TFormula

Source:

(static) gaussian_pdf()

gaussian_pdf function

Source:

(static) gausxy()

gausxy function for TFormula

Source:

(static) getTEfficiencyBoundaryFunc()

Return function to calculate boundary of TEfficiency

Source:

(static) igam()

igam function

Source:

(static) igamc()

igamc function

Source:

(static) igami()

igami function

Source:

(static) inc_beta()

Calculates the normalized (regularized) incomplete beta function.

Source:

(static) inc_gamma()

inc_gamma

Source:

(static) inc_gamma_c()

inc_gamma_c

Source:

(static) incbcf()

Continued fraction expansion #1 for incomplete beta integral

Source:

(static) incbd()

Continued fraction expansion #2 for incomplete beta integral

Source:

(static) incbet()

ROOT::Math::Cephes::incbet

Source:

(static) incbi()

copy of ROOT::Math::Cephes::incbi

Source:

(static) landau()

landau function for TFormula

Source:

(static) landau_pdf()

landau_pdf function

Description:
  • LANDAU pdf : algorithm from CERNLIB G110 denlan same algorithm is used in GSL

Source:

(static) landaun()

landaun function for TFormula

Source:

(static) lgam()

lgam function, logarithm from gamma

Source:

(static) lgamma()

lgamma

Source:

(static) lognormal_cdf()

lognormal_cdf_c function

Source:

(static) lognormal_cdf_c()

lognormal_cdf_c function

Source:

(static) lognormal_pdf()

log normal pdf

Source:

(static) ndtri()

ndtri function

Source:

(static) normal_cdf()

normal_cdf function

Source:

(static) normal_cdf_c()

normal_cdf_c function

Source:

(static) normal_pdf()

normal pdf

Source:

(static) normal_quantile()

normal_quantile function

Source:

(static) normal_quantile_c()

normal_quantile_c function

Source:

(static) pseries()

ROOT::Math::Cephes::pseries

Source:

(static) stirf()

Stirling formula for the gamma function

Source:

(static) tdistribution_cdf()

tdistribution_cdf function

Source:

(static) tdistribution_cdf_c()

tdistribution_cdf_c function

Source:

(static) tdistribution_pdf()

tdistribution_pdf function

Source: