ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooMath

class RooMath

Function Members (Methods)

public:
RooMath()
RooMath(const RooMath&)
virtual~RooMath()
static voidcacheCERF(Bool_t)
static TClass*Class()
static voidcleanup()
static RooComplexComplexErrFunc(const RooComplex& zz)
static RooComplexComplexErrFunc(Double_t re, Double_t im = 0.)
static RooComplexComplexErrFuncFast(const RooComplex& zz)
static Double_tComplexErrFuncFastIm(const RooComplex& zz)
static Double_tComplexErrFuncFastRe(const RooComplex& zz)
static complex<double>erf(const complex<double> z)
static Double_terf(Double_t x)
static complex<double>erf_fast(const complex<double> z)
static complex<double>erfc(const complex<double> z)
static Double_terfc(Double_t x)
static complex<double>erfc_fast(const complex<double> z)
static complex<double>faddeeva(complex<double> z)
static complex<double>faddeeva_fast(complex<double> z)
static voidinitFastCERF(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t)
static Double_tinterpolate(Double_t* yArr, Int_t nOrder, Double_t x)
static Double_tinterpolate(Double_t* xa, Double_t* ya, Int_t n, Double_t x)
virtual TClass*IsA() const
static RooComplexITPComplexErrFuncFast(const RooComplex& zz, Int_t)
static Double_tITPComplexErrFuncFastIm(const RooComplex& zz, Int_t)
static Double_tITPComplexErrFuncFastRe(const RooComplex& zz, Int_t)
RooMath&operator=(const RooMath&)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
private:
static voidwarn(const char* oldfun, const char* newfun = 0)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

std::complex<double> faddeeva(complex<double> z)
std::complex<double> faddeeva_fast(complex<double> z)
std::complex<double> erfc(const std::complex<double> z)
std::complex<double> erfc_fast(const complex<double> z)
std::complex<double> erf(const std::complex<double> z)
std::complex<double> erf_fast(const complex<double> z)
Double_t interpolate(Double_t* yArr, Int_t nOrder, Double_t x)
 Interpolate array 'ya' with 'n' elements for 'x' (between 0 and 'n'-1)
Double_t interpolate(Double_t* xa, Double_t* ya, Int_t n, Double_t x)
 Interpolate array 'ya' with 'n' elements for 'xa'
void warn(const char* oldfun, const char* newfun = 0)
virtual ~RooMath()
{}
std::complex<double> erf(const std::complex<double> z)
 @brief complex erf function
   *
   * @author Manuel Schiller <manuel.schiller@nikhef.nl>
   * @date 2013-02-21
   *
   * Calculate erf(z) for complex z.

std::complex<double> erfc(const std::complex<double> z)
 @brief complex erfc function
   *
   * @author Manuel Schiller <manuel.schiller@nikhef.nl>
   * @date 2013-02-21
   *
   * Calculate erfc(z) for complex z.

RooComplex ComplexErrFunc(Double_t re, Double_t im = 0.)
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva"); std::complex<Double_t> z = faddeeva(std::complex<Double_t>(re, im)); return RooComplex(z.real(), z.imag()); }
RooComplex ComplexErrFunc(const RooComplex& zz)
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva"); std::complex<Double_t> z = faddeeva(std::complex<Double_t>(zz.re(), zz.im())); return RooComplex(z.real(), z.imag()); }
RooComplex ComplexErrFuncFast(const RooComplex& zz)
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return RooComplex(z.real(), z.imag()); }
Double_t ComplexErrFuncFastRe(const RooComplex& zz)
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return z.real(); }
Double_t ComplexErrFuncFastIm(const RooComplex& zz)
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return z.imag(); }
RooComplex ITPComplexErrFuncFast(const RooComplex& zz, Int_t )
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return RooComplex(z.real(), z.imag()); }
Double_t ITPComplexErrFuncFastRe(const RooComplex& zz, Int_t )
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return z.real(); }
Double_t ITPComplexErrFuncFastIm(const RooComplex& zz, Int_t )
 deprecated function
{ warn(__my_func__, "RooMath::faddeeva_fast"); std::complex<Double_t> z = faddeeva_fast(std::complex<Double_t>(zz.re(), zz.im())); return z.imag(); }
void cacheCERF(Bool_t )
 deprecated function
{ warn(__my_func__); }
void cleanup()
 deprecated function
{ warn(__my_func__); }
void initFastCERF(Int_t , Double_t , Double_t , Int_t , Double_t , Double_t )
 deprecated function