ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
ROOT::Math::VirtualIntegratorOneDim Class Referenceabstract

Interface (abstract) class for 1D numerical integration It must be implemented by the concrate Integrator classes like ROOT::Math::GSLIntegrator.

Plug-in's exist in ROOT to be able to instantiate the derived classes via the plug-in manager. Users should not use directly this class but the concrete classes ROOT::Math::IntegratorOneDim.

Definition at line 111 of file VirtualIntegrator.h.

Public Member Functions

virtual ~VirtualIntegratorOneDim ()
 destructor: no operation More...
 
virtual double Integral (double a, double b)=0
 evaluate integral More...
 
virtual void SetFunction (const IGenFunction &)=0
 set integration function More...
 
virtual double Integral ()=0
 evaluate un-defined integral (between -inf, + inf) More...
 
virtual double IntegralUp (double a)=0
 evaluate integral over the (a, +inf) More...
 
virtual double IntegralLow (double b)=0
 evaluate integral over the (-inf, b) More...
 
virtual double Integral (const std::vector< double > &pts)=0
 evaluate integral with singular points More...
 
virtual double IntegralCauchy (double a, double b, double c)=0
 evaluate Cauchy integral More...
 
virtual ROOT::Math::IntegratorOneDimOptions Options () const =0
 get the option used for the integration must be implemented by derived class More...
 
virtual ROOT::Math::IntegrationOneDim::Type Type () const
 
virtual void SetOptions (const ROOT::Math::IntegratorOneDimOptions &opt)
 set the options (should be re-implemented by derived classes -if more options than tolerance exist More...
 
- Public Member Functions inherited from ROOT::Math::VirtualIntegrator
virtual ~VirtualIntegrator ()
 
virtual void SetRelTolerance (double)=0
 set the desired relative Error More...
 
virtual void SetAbsTolerance (double)=0
 set the desired absolute Error More...
 
virtual double Result () const =0
 return the Result of the last Integral calculation More...
 
virtual double Error () const =0
 return the estimate of the absolute Error of the last Integral calculation More...
 
virtual int Status () const =0
 return the Error Status of the last Integral calculation More...
 
virtual int NEval () const
 return number of function evaluations in calculating the integral (if integrator do not implement this function returns -1) More...
 

#include <Math/VirtualIntegrator.h>

+ Inheritance diagram for ROOT::Math::VirtualIntegratorOneDim:
+ Collaboration diagram for ROOT::Math::VirtualIntegratorOneDim:

Constructor & Destructor Documentation

virtual ROOT::Math::VirtualIntegratorOneDim::~VirtualIntegratorOneDim ( )
inlinevirtual

destructor: no operation

Definition at line 116 of file VirtualIntegrator.h.

Member Function Documentation

virtual double ROOT::Math::VirtualIntegratorOneDim::Integral ( double  a,
double  b 
)
pure virtual
virtual double ROOT::Math::VirtualIntegratorOneDim::Integral ( )
pure virtual

evaluate un-defined integral (between -inf, + inf)

Implemented in ROOT::Math::GSLIntegrator, and ROOT::Math::GaussIntegrator.

virtual double ROOT::Math::VirtualIntegratorOneDim::Integral ( const std::vector< double > &  pts)
pure virtual

evaluate integral with singular points

Implemented in ROOT::Math::GSLIntegrator, and ROOT::Math::GaussIntegrator.

virtual double ROOT::Math::VirtualIntegratorOneDim::IntegralCauchy ( double  a,
double  b,
double  c 
)
pure virtual
virtual double ROOT::Math::VirtualIntegratorOneDim::IntegralLow ( double  b)
pure virtual

evaluate integral over the (-inf, b)

Implemented in ROOT::Math::GSLIntegrator, and ROOT::Math::GaussIntegrator.

Referenced by ROOT::Math::IntegratorOneDim::IntegralLow().

virtual double ROOT::Math::VirtualIntegratorOneDim::IntegralUp ( double  a)
pure virtual

evaluate integral over the (a, +inf)

Implemented in ROOT::Math::GSLIntegrator, and ROOT::Math::GaussIntegrator.

Referenced by ROOT::Math::IntegratorOneDim::IntegralUp().

virtual ROOT::Math::IntegratorOneDimOptions ROOT::Math::VirtualIntegratorOneDim::Options ( ) const
pure virtual

get the option used for the integration must be implemented by derived class

Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GaussIntegrator, and ROOT::Math::GaussLegendreIntegrator.

Referenced by ROOT::Math::IntegratorOneDim::Options(), and Type().

virtual void ROOT::Math::VirtualIntegratorOneDim::SetFunction ( const IGenFunction )
pure virtual

set integration function

Implemented in ROOT::Math::GaussIntegrator, and ROOT::Math::GSLIntegrator.

Referenced by ROOT::Math::IntegratorOneDim::SetFunction().

virtual void ROOT::Math::VirtualIntegratorOneDim::SetOptions ( const ROOT::Math::IntegratorOneDimOptions opt)
inlinevirtual

set the options (should be re-implemented by derived classes -if more options than tolerance exist

Reimplemented in ROOT::Math::GSLIntegrator, ROOT::Math::GaussIntegrator, and ROOT::Math::GaussLegendreIntegrator.

Definition at line 150 of file VirtualIntegrator.h.

Referenced by ROOT::Math::IntegratorOneDim::SetOptions().

virtual ROOT::Math::IntegrationOneDim::Type ROOT::Math::VirtualIntegratorOneDim::Type ( ) const
inlinevirtual

Definition at line 144 of file VirtualIntegrator.h.


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