Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MathFuncs.h File Reference
#include <TMath.h>
#include <Math/PdfFuncMathCore.h>
#include <Math/ProbFuncMathCore.h>
#include <cmath>
Include dependency graph for MathFuncs.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  RooFit
 The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments).
 
namespace  RooFit::Detail
 
namespace  RooFit::Detail::MathFuncs
 

Functions

double RooFit::Detail::MathFuncs::approxErf (double arg)
 
double RooFit::Detail::MathFuncs::bernstein (double x, double xmin, double xmax, double *coefs, int nCoefs)
 The caller needs to make sure that there is at least one coefficient.
 
double RooFit::Detail::MathFuncs::bernsteinIntegral (double xlo, double xhi, double xmin, double xmax, double *coefs, int nCoefs)
 
double RooFit::Detail::MathFuncs::bifurGauss (double x, double mean, double sigmaL, double sigmaR)
 
double RooFit::Detail::MathFuncs::bifurGaussIntegral (double xMin, double xMax, double mean, double sigmaL, double sigmaR)
 
double RooFit::Detail::MathFuncs::binomial (int n, int k)
 Calculates the binomial coefficient n over k.
 
double RooFit::Detail::MathFuncs::cbShape (double m, double m0, double sigma, double alpha, double n)
 
double RooFit::Detail::MathFuncs::cbShapeIntegral (double mMin, double mMax, double m0, double sigma, double alpha, double n)
 
double RooFit::Detail::MathFuncs::chebychev (double *coeffs, unsigned int nCoeffs, double x_in, double xMin, double xMax)
 
double RooFit::Detail::MathFuncs::chebychevIntegral (double const *coeffs, unsigned int nCoeffs, double xMin, double xMax, double xMinFull, double xMaxFull)
 
double RooFit::Detail::MathFuncs::constraintSum (double const *comp, unsigned int compSize)
 
double RooFit::Detail::MathFuncs::efficiency (double effFuncVal, int catIndex, int sigCatIndex)
 
double RooFit::Detail::MathFuncs::effProd (double eff, double pdf)
 
double RooFit::Detail::MathFuncs::exponentialIntegral (double xMin, double xMax, double constant)
 
double RooFit::Detail::MathFuncs::fast_fma (double x, double y, double z) noexcept
 use fast FMA if available, fall back to normal arithmetic if not
 
double RooFit::Detail::MathFuncs::flexibleInterp (unsigned int code, double const *params, unsigned int n, double const *low, double const *high, double boundary, double nominal, int doCutoff)
 
double RooFit::Detail::MathFuncs::flexibleInterpSingle (unsigned int code, double low, double high, double boundary, double nominal, double paramVal, double res)
 
double RooFit::Detail::MathFuncs::gaussian (double x, double mean, double sigma)
 Function to evaluate an un-normalized RooGaussian.
 
double RooFit::Detail::MathFuncs::gaussianIntegral (double xMin, double xMax, double mean, double sigma)
 Function to calculate the integral of an un-normalized RooGaussian over x.
 
unsigned int RooFit::Detail::MathFuncs::getUniformBinning (double low, double high, double val, unsigned int numBins)
 
double RooFit::Detail::MathFuncs::interpolate1d (double low, double high, double val, unsigned int numBins, double const *vals)
 
double RooFit::Detail::MathFuncs::landau (double x, double mu, double sigma)
 
double RooFit::Detail::MathFuncs::logNormal (double x, double k, double m0)
 
double RooFit::Detail::MathFuncs::logNormalIntegral (double xMin, double xMax, double m0, double k)
 
double RooFit::Detail::MathFuncs::logNormalIntegralStandard (double xMin, double xMax, double mu, double sigma)
 
double RooFit::Detail::MathFuncs::logNormalStandard (double x, double sigma, double mu)
 
double RooFit::Detail::MathFuncs::multiVarGaussian (int n, const double *x, const double *mu, const double *covI)
 
double RooFit::Detail::MathFuncs::nll (double pdf, double weight, int binnedL, int doBinOffset)
 
double RooFit::Detail::MathFuncs::poisson (double x, double par)
 
double RooFit::Detail::MathFuncs::poissonIntegral (int code, double mu, double x, double integrandMin, double integrandMax, unsigned int protectNegative)
 
template<bool pdfMode = false>
double RooFit::Detail::MathFuncs::polynomial (double const *coeffs, int nCoeffs, int lowestOrder, double x)
 In pdfMode, a coefficient for the constant term of 1.0 is implied if lowestOrder > 0.
 
template<bool pdfMode = false>
double RooFit::Detail::MathFuncs::polynomialIntegral (double const *coeffs, int nCoeffs, int lowestOrder, double xMin, double xMax)
 In pdfMode, a coefficient for the constant term of 1.0 is implied if lowestOrder > 0.
 
double RooFit::Detail::MathFuncs::product (double const *factors, std::size_t nFactors)
 
double RooFit::Detail::MathFuncs::ratio (double numerator, double denominator)
 
double RooFit::Detail::MathFuncs::recursiveFraction (double *a, unsigned int n)