ROOT
6.06/09
Reference Guide
|
Abstract class for all numerical integration methods (1D and multi-dim) Interface defining the common methods for the numerical integrator classes of one and multi dimensions The derived class VirtualIntegratorOneDim defines the methods for one-dimensional integration.
The derived class VirtualIntegratorMultiDim defines the method for multi-dimensional integration. The concrete classes for one dimension (e.g. GSLIntegrator) or multi-dimension (e.g. GSLMCIntegrator) can be created using the plug-in manager. Users should not use directly this class but the concrete classes ROOT::Math::IntegratorOneDim or ROOT::Math::IntegratorMultiDim
Definition at line 55 of file VirtualIntegrator.h.
Public Member Functions | |
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>
|
inlinevirtual |
Definition at line 60 of file VirtualIntegrator.h.
|
pure virtual |
return the estimate of the absolute Error of the last Integral calculation
Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, and ROOT::Math::GaussIntegrator.
Referenced by ROOT::Math::IntegratorMultiDim::Error(), and ROOT::Math::IntegratorOneDim::Error().
|
inlinevirtual |
return number of function evaluations in calculating the integral (if integrator do not implement this function returns -1)
Reimplemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, and ROOT::Math::GaussLegendreIntegrator.
Definition at line 91 of file VirtualIntegrator.h.
Referenced by ROOT::Math::IntegratorOneDim::NEval().
|
pure virtual |
return the Result of the last Integral calculation
Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, and ROOT::Math::GaussIntegrator.
Referenced by ROOT::Math::IntegratorMultiDim::Result(), and ROOT::Math::IntegratorOneDim::Result().
set the desired absolute Error
Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, ROOT::Math::GaussIntegrator, and ROOT::Math::GaussLegendreIntegrator.
Referenced by ROOT::Math::IntegratorMultiDim::SetAbsTolerance(), ROOT::Math::IntegratorOneDim::SetAbsTolerance(), ROOT::Math::VirtualIntegratorOneDim::SetOptions(), and ROOT::Math::VirtualIntegratorMultiDim::SetOptions().
set the desired relative Error
Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, ROOT::Math::GaussIntegrator, and ROOT::Math::GaussLegendreIntegrator.
Referenced by ROOT::Math::VirtualIntegratorOneDim::SetOptions(), ROOT::Math::VirtualIntegratorMultiDim::SetOptions(), ROOT::Math::IntegratorMultiDim::SetRelTolerance(), and ROOT::Math::IntegratorOneDim::SetRelTolerance().
|
pure virtual |
return the Error Status of the last Integral calculation
Implemented in ROOT::Math::GSLIntegrator, ROOT::Math::GSLMCIntegrator, ROOT::Math::AdaptiveIntegratorMultiDim, and ROOT::Math::GaussIntegrator.
Referenced by ROOT::Math::IntegratorMultiDim::Status(), and ROOT::Math::IntegratorOneDim::Status().