Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::IntegrandTransform Class Reference

Auxiliary inner class for mapping infinite and semi-infinite integrals.

Definition at line 234 of file GaussIntegrator.h.

Public Types

enum  ESemiInfinitySign { kMinus = -1 , kPlus = +1 }
 
- Public Types inherited from ROOT::Math::IBaseFunctionOneDim
typedef IBaseFunctionOneDim BaseFunc
 

Public Member Functions

 IntegrandTransform (const double boundary, ESemiInfinitySign sign, const IGenFunction *integrand)
 
 IntegrandTransform (const IGenFunction *integrand)
 
IGenFunctionClone () const
 Clone a function.
 
double DoEval (double x) const
 implementation of the evaluation function. Must be implemented by derived classes
 
double operator() (double x) const
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
 IBaseFunctionOneDim ()
 
virtual ~IBaseFunctionOneDim ()
 virtual destructor
 
double operator() (const double *x) const
 Evaluate the function at a point x[].
 
double operator() (double x) const
 Evaluate the function at a point x Use the a pure virtual private method DoEval which must be implemented by sub-classes.
 

Private Member Functions

double DoEval (double x, double boundary, int sign) const
 

Private Attributes

double fBoundary
 
bool fInfiniteInterval
 
const IGenFunctionfIntegrand
 
ESemiInfinitySign fSign
 

#include <Math/GaussIntegrator.h>

Inheritance diagram for ROOT::Math::IntegrandTransform:
[legend]

Member Enumeration Documentation

◆ ESemiInfinitySign

Enumerator
kMinus 
kPlus 

Definition at line 236 of file GaussIntegrator.h.

Constructor & Destructor Documentation

◆ IntegrandTransform() [1/2]

ROOT::Math::IntegrandTransform::IntegrandTransform ( const IGenFunction integrand)

Definition at line 225 of file GaussIntegrator.cxx.

◆ IntegrandTransform() [2/2]

ROOT::Math::IntegrandTransform::IntegrandTransform ( const double  boundary,
ESemiInfinitySign  sign,
const IGenFunction integrand 
)

Definition at line 229 of file GaussIntegrator.cxx.

Member Function Documentation

◆ Clone()

IGenFunction * ROOT::Math::IntegrandTransform::Clone ( ) const
virtual

Clone a function.

Each derived class will implement their version of the provate DoClone method

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 247 of file GaussIntegrator.cxx.

◆ DoEval() [1/2]

double ROOT::Math::IntegrandTransform::DoEval ( double  x) const
virtual

implementation of the evaluation function. Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 233 of file GaussIntegrator.cxx.

◆ DoEval() [2/2]

double ROOT::Math::IntegrandTransform::DoEval ( double  x,
double  boundary,
int  sign 
) const
private

Definition at line 238 of file GaussIntegrator.cxx.

◆ operator()()

double ROOT::Math::IntegrandTransform::operator() ( double  x) const

Definition at line 243 of file GaussIntegrator.cxx.

Member Data Documentation

◆ fBoundary

double ROOT::Math::IntegrandTransform::fBoundary
private

Definition at line 245 of file GaussIntegrator.h.

◆ fInfiniteInterval

bool ROOT::Math::IntegrandTransform::fInfiniteInterval
private

Definition at line 246 of file GaussIntegrator.h.

◆ fIntegrand

const IGenFunction* ROOT::Math::IntegrandTransform::fIntegrand
private

Definition at line 244 of file GaussIntegrator.h.

◆ fSign

ESemiInfinitySign ROOT::Math::IntegrandTransform::fSign
private

Definition at line 243 of file GaussIntegrator.h.

Libraries for ROOT::Math::IntegrandTransform:

The documentation for this class was generated from the following files: