Definition at line 446 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::bernstein | ( | double | x, |
double | xmin, | ||
double | xmax, | ||
DoubleArray | coefs, | ||
int | nCoefs ) |
The caller needs to make sure that there is at least one coefficient.
Definition at line 47 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::bernsteinIntegral | ( | double | xlo, |
double | xhi, | ||
double | xmin, | ||
double | xmax, | ||
DoubleArray | coefs, | ||
int | nCoefs ) |
Definition at line 758 of file MathFuncs.h.
|
inline |
Definition at line 108 of file MathFuncs.h.
|
inline |
Definition at line 498 of file MathFuncs.h.
unsigned int RooFit::Detail::MathFuncs::binNumber | ( | double | x, |
double | coef, | ||
DoubleArray | boundaries, | ||
unsigned int | nBoundaries, | ||
int | nbins, | ||
int | blo ) |
Definition at line 205 of file MathFuncs.h.
Calculates the binomial coefficient n over k.
Equivalent to TMath::Binomial, but inlined.
Definition at line 29 of file MathFuncs.h.
|
inline |
Definition at line 426 of file MathFuncs.h.
|
inline |
Definition at line 693 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::chebychev | ( | DoubleArray | coeffs, |
unsigned int | nCoeffs, | ||
double | x_in, | ||
double | xMin, | ||
double | xMax ) |
Definition at line 141 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::chebychevIntegral | ( | DoubleArray | coeffs, |
unsigned int | nCoeffs, | ||
double | xMin, | ||
double | xMax, | ||
double | xMinFull, | ||
double | xMaxFull ) |
Definition at line 559 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::constraintSum | ( | DoubleArray | comp, |
unsigned int | compSize ) |
Definition at line 177 of file MathFuncs.h.
|
inline |
Definition at line 117 of file MathFuncs.h.
Definition at line 391 of file MathFuncs.h.
|
inline |
Definition at line 514 of file MathFuncs.h.
use fast FMA if available, fall back to normal arithmetic if not
Definition at line 544 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::flexibleInterp | ( | unsigned int | code, |
ParamsArray | params, | ||
unsigned int | n, | ||
DoubleArray | low, | ||
DoubleArray | high, | ||
double | boundary, | ||
double | nominal, | ||
int | doCutoff ) |
Definition at line 363 of file MathFuncs.h.
|
inline |
Definition at line 248 of file MathFuncs.h.
Function to evaluate an un-normalized RooGaussian.
Definition at line 85 of file MathFuncs.h.
|
inline |
Function to calculate the integral of an un-normalized RooGaussian over x.
To calculate the integral over mean, just interchange the respective values of x and mean.
xMin | Minimum value of variable to integrate wrt. |
xMax | Maximum value of of variable to integrate wrt. |
mean | Mean. |
sigma | Sigma. |
Definition at line 463 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::interpolate1d | ( | double | low, |
double | high, | ||
double | val, | ||
unsigned int | numBins, | ||
DoubleArray | vals ) |
Definition at line 213 of file MathFuncs.h.
Definition at line 374 of file MathFuncs.h.
Definition at line 381 of file MathFuncs.h.
|
inline |
Definition at line 672 of file MathFuncs.h.
|
inline |
Definition at line 682 of file MathFuncs.h.
Definition at line 386 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::multipdf | ( | int | idx, |
DoubleArray | pdfs ) |
Definition at line 166 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::multiVarGaussian | ( | int | n, |
DoubleArray | x, | ||
DoubleArray | mu, | ||
DoubleArray | covI ) |
Definition at line 785 of file MathFuncs.h.
|
inline |
Definition at line 396 of file MathFuncs.h.
Definition at line 233 of file MathFuncs.h.
|
inline |
Definition at line 625 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::polynomial | ( | DoubleArray | coeffs, |
int | nCoeffs, | ||
int | lowestOrder, | ||
double | x ) |
In pdfMode, a coefficient for the constant term of 1.0 is implied if lowestOrder > 0.
Definition at line 130 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::polynomialIntegral | ( | DoubleArray | 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.
Definition at line 525 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::product | ( | DoubleArray | factors, |
std::size_t | nFactors ) |
Definition at line 93 of file MathFuncs.h.
Definition at line 103 of file MathFuncs.h.
unsigned int RooFit::Detail::MathFuncs::rawBinNumber | ( | double | x, |
DoubleArray | boundaries, | ||
std::size_t | nBoundaries ) |
Definition at line 193 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::recursiveFraction | ( | DoubleArray | a, |
unsigned int | n ) |
Definition at line 415 of file MathFuncs.h.
double RooFit::Detail::MathFuncs::stepFunctionIntegral | ( | double | xmin, |
double | xmax, | ||
std::size_t | nBins, | ||
DoubleArray | boundaries, | ||
DoubleArray | coefs ) |
Definition at line 802 of file MathFuncs.h.