Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | List of all members
ROOT::Math::VirtualIntegratorMultiDim Class Referenceabstract

Interface (abstract) class for multi numerical integration It must be implemented by the concrete Integrator classes like ROOT::Math::GSLMCIntegrator.

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::IntegratorMultiDim.

Definition at line 166 of file VirtualIntegrator.h.

Public Member Functions

virtual ~VirtualIntegratorMultiDim ()
 destructor: no operation More...
 
virtual double Integral (const double *, const double *)=0
 evaluate multi-dim integral More...
 
virtual ROOT::Math::IntegratorMultiDimOptions Options () const =0
 get the option used for the integration impelement by derived class otherwise return default ones More...
 
virtual void SetFunction (const IMultiGenFunction &)=0
 setting a multi-dim function More...
 
virtual void SetOptions (const ROOT::Math::IntegratorMultiDimOptions &opt)
 set the options (if needed must be re-implemented by derived classes) More...
 
virtual ROOT::Math::IntegrationMultiDim::Type Type () const
 
- Public Member Functions inherited from ROOT::Math::VirtualIntegrator
virtual ~VirtualIntegrator ()
 
virtual double Error () const =0
 return the estimate of the absolute Error 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...
 
virtual double Result () const =0
 return the Result of the last Integral calculation More...
 
virtual void SetAbsTolerance (double)=0
 set the desired absolute Error More...
 
virtual void SetRelTolerance (double)=0
 set the desired relative Error More...
 
virtual int Status () const =0
 return the Error Status of the last Integral calculation More...
 

#include <Math/VirtualIntegrator.h>

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

Constructor & Destructor Documentation

◆ ~VirtualIntegratorMultiDim()

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

destructor: no operation

Definition at line 171 of file VirtualIntegrator.h.

Member Function Documentation

◆ Integral()

virtual double ROOT::Math::VirtualIntegratorMultiDim::Integral ( const double *  ,
const double *   
)
pure virtual

evaluate multi-dim integral

Implemented in ROOT::Math::GSLMCIntegrator, and ROOT::Math::AdaptiveIntegratorMultiDim.

◆ Options()

virtual ROOT::Math::IntegratorMultiDimOptions ROOT::Math::VirtualIntegratorMultiDim::Options ( ) const
pure virtual

get the option used for the integration impelement by derived class otherwise return default ones

Implemented in ROOT::Math::GSLMCIntegrator, and ROOT::Math::AdaptiveIntegratorMultiDim.

◆ SetFunction()

virtual void ROOT::Math::VirtualIntegratorMultiDim::SetFunction ( const IMultiGenFunction )
pure virtual

setting a multi-dim function

Implemented in ROOT::Math::GSLMCIntegrator, and ROOT::Math::AdaptiveIntegratorMultiDim.

◆ SetOptions()

virtual void ROOT::Math::VirtualIntegratorMultiDim::SetOptions ( const ROOT::Math::IntegratorMultiDimOptions opt)
inlinevirtual

set the options (if needed must be re-implemented by derived classes)

Reimplemented in ROOT::Math::GSLMCIntegrator, and ROOT::Math::AdaptiveIntegratorMultiDim.

Definition at line 189 of file VirtualIntegrator.h.

◆ Type()

virtual ROOT::Math::IntegrationMultiDim::Type ROOT::Math::VirtualIntegratorMultiDim::Type ( ) const
inlinevirtual

Definition at line 184 of file VirtualIntegrator.h.

Libraries for ROOT::Math::VirtualIntegratorMultiDim:
[legend]

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