ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Math::IntegrandTransform Class Reference

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

Definition at line 240 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 IGenFunction *integrand)
 
 IntegrandTransform (const double boundary, ESemiInfinitySign sign, const IGenFunction *integrand)
 
double operator() (double x) const
 
double DoEval (double x) const
 implementation of the evaluation function. Must be implemented by derived classes More...
 
IGenFunctionClone () const
 Clone a function. More...
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
 IBaseFunctionOneDim ()
 
virtual ~IBaseFunctionOneDim ()
 virtual destructor More...
 
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. More...
 
double operator() (const double *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

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

Private Attributes

ESemiInfinitySign fSign
 
const IGenFunctionfIntegrand
 
double fBoundary
 
bool fInfiniteInterval
 

#include <Math/GaussIntegrator.h>

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

Member Enumeration Documentation

Enumerator
kMinus 
kPlus 

Definition at line 242 of file GaussIntegrator.h.

Constructor & Destructor Documentation

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

Definition at line 224 of file GaussIntegrator.cxx.

Referenced by Clone().

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

Definition at line 228 of file GaussIntegrator.cxx.

Member Function Documentation

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 246 of file GaussIntegrator.cxx.

Referenced by ROOT::Math::GaussIntegrator::Integral(), ROOT::Math::GaussIntegrator::IntegralLow(), and ROOT::Math::GaussIntegrator::IntegralUp().

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 232 of file GaussIntegrator.cxx.

Referenced by operator()().

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

Definition at line 237 of file GaussIntegrator.cxx.

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

Definition at line 242 of file GaussIntegrator.cxx.

Member Data Documentation

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

Definition at line 251 of file GaussIntegrator.h.

Referenced by Clone(), and DoEval().

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

Definition at line 252 of file GaussIntegrator.h.

Referenced by Clone(), and DoEval().

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

Definition at line 250 of file GaussIntegrator.h.

Referenced by Clone(), and DoEval().

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

Definition at line 249 of file GaussIntegrator.h.

Referenced by Clone(), and DoEval().

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

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