Definition at line 454 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 49 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::bernsteinIntegral | ( | double | xlo, |
| double | xhi, | ||
| double | xmin, | ||
| double | xmax, | ||
| DoubleArray | coefs, | ||
| int | nCoefs ) |
Definition at line 766 of file MathFuncs.h.
|
inline |
Definition at line 110 of file MathFuncs.h.
|
inline |
Definition at line 506 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 210 of file MathFuncs.h.
Calculates the binomial coefficient n over k.
Equivalent to TMath::Binomial, but inlined.
Definition at line 31 of file MathFuncs.h.
|
inline |
Definition at line 434 of file MathFuncs.h.
|
inline |
Definition at line 701 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::chebychev | ( | DoubleArray | coeffs, |
| unsigned int | nCoeffs, | ||
| double | x_in, | ||
| double | xMin, | ||
| double | xMax ) |
Definition at line 143 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 567 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::constraintSum | ( | DoubleArray | comp, |
| unsigned int | compSize ) |
Definition at line 179 of file MathFuncs.h.
|
inline |
Definition at line 119 of file MathFuncs.h.
Definition at line 399 of file MathFuncs.h.
|
inline |
Definition at line 522 of file MathFuncs.h.
use fast FMA if available, fall back to normal arithmetic if not
Definition at line 552 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 368 of file MathFuncs.h.
|
inline |
Definition at line 253 of file MathFuncs.h.
Function to evaluate an un-normalized RooGaussian.
Definition at line 87 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 471 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::interpolate1d | ( | double | low, |
| double | high, | ||
| double | val, | ||
| unsigned int | numBins, | ||
| DoubleArray | vals ) |
Definition at line 218 of file MathFuncs.h.
Definition at line 382 of file MathFuncs.h.
Definition at line 389 of file MathFuncs.h.
|
inline |
Definition at line 680 of file MathFuncs.h.
|
inline |
Definition at line 690 of file MathFuncs.h.
Definition at line 394 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::multipdf | ( | int | idx, |
| DoubleArray | pdfs ) |
Definition at line 168 of file MathFuncs.h.
Definition at line 793 of file MathFuncs.h.
|
inline |
Definition at line 404 of file MathFuncs.h.
Definition at line 238 of file MathFuncs.h.
|
inline |
Definition at line 633 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 132 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 533 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::product | ( | DoubleArray | factors, |
| std::size_t | nFactors ) |
Definition at line 95 of file MathFuncs.h.
Definition at line 105 of file MathFuncs.h.
| unsigned int RooFit::Detail::MathFuncs::rawBinNumber | ( | double | x, |
| DoubleArray | boundaries, | ||
| std::size_t | nBoundaries ) |
Definition at line 198 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::recursiveFraction | ( | DoubleArray | a, |
| unsigned int | n ) |
Definition at line 423 of file MathFuncs.h.
| double RooFit::Detail::MathFuncs::stepFunctionIntegral | ( | double | xmin, |
| double | xmax, | ||
| std::size_t | nBins, | ||
| DoubleArray | boundaries, | ||
| DoubleArray | coefs ) |
Definition at line 810 of file MathFuncs.h.