14 #ifndef ROOT_Math_AdaptiveIntegratorMultiDim 15 #define ROOT_Math_AdaptiveIntegratorMultiDim 17 #ifndef ROOT_Math_IFunctionfwd 173 double DoIntegral(
const double* xmin,
const double * xmax,
bool absVal =
false);
double DoIntegral(const double *xmin, const double *xmax, bool absVal=false)
int NEval() const
return number of function evaluations in calculating the integral
const IMultiGenFunction * fFun
void SetFunction(const IMultiGenFunction &f)
set the integration function (must implement multi-dim function interface: IBaseFunctionMultiDim) ...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
int Status() const
return status of integration
double RelError() const
return relative error
void SetMaxPts(unsigned int n)
set max points
double Result() const
return result of integration
void SetAbsTolerance(double absTol)
set absolute tolerance
virtual ~AdaptiveIntegratorMultiDim()
destructor (no operations)
void SetRelTolerance(double relTol)
set relative tolerance
double Integral(const double *xmin, const double *xmax)
evaluate the integral with the previously given function between xmin[] and xmax[] ...
Numerical multi dimensional integration options.
Interface (abstract) class for multi numerical integration It must be implemented by the concrete Int...
double Error() const
return integration error
ROOT::Math::IntegratorMultiDimOptions Options() const
get the option used for the integration
Namespace for new Math classes and functions.
Documentation for the abstract class IBaseFunctionMultiDim.
void SetSize(unsigned int size)
set workspace size
void SetOptions(const ROOT::Math::IntegratorMultiDimOptions &opt)
set the options
AdaptiveIntegratorMultiDim(double absTol=0.0, double relTol=1E-9, unsigned int maxpts=100000, unsigned int size=0)
construct given optionally tolerance (absolute and relative), maximum number of function evaluation (...
class for adaptive quadrature integration in multi-dimensions using rectangular regions.
void SetMinPts(unsigned int n)
set min points