Definition at line 452 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 764 of file MathFuncs.h.
|
inline |
Definition at line 108 of file MathFuncs.h.
|
inline |
Definition at line 504 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 208 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 432 of file MathFuncs.h.
|
inline |
Definition at line 699 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 565 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 397 of file MathFuncs.h.
|
inline |
Definition at line 520 of file MathFuncs.h.
use fast FMA if available, fall back to normal arithmetic if not
Definition at line 550 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 366 of file MathFuncs.h.
|
inline |
Definition at line 251 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 469 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::interpolate1d | ( | double | low, |
| double | high, | ||
| double | val, | ||
| unsigned int | numBins, | ||
| DoubleArray | vals ) |
Definition at line 216 of file MathFuncs.h.
Definition at line 380 of file MathFuncs.h.
Definition at line 387 of file MathFuncs.h.
|
inline |
Definition at line 678 of file MathFuncs.h.
|
inline |
Definition at line 688 of file MathFuncs.h.
Definition at line 392 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 791 of file MathFuncs.h.
|
inline |
Definition at line 402 of file MathFuncs.h.
Definition at line 236 of file MathFuncs.h.
|
inline |
Definition at line 631 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 531 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 196 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::recursiveFraction | ( | DoubleArray | a, |
| unsigned int | n ) |
Definition at line 421 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::stepFunctionIntegral | ( | double | xmin, |
| double | xmax, | ||
| std::size_t | nBins, | ||
| DoubleArray | boundaries, | ||
| DoubleArray | coefs ) |
Definition at line 808 of file MathFuncs.h.