14#ifndef ROOT_Math_AdaptiveIntegratorMultiDim
15#define ROOT_Math_AdaptiveIntegratorMultiDim
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Class for adaptive quadrature integration in multi-dimensions using rectangular regions.
ROOT::Math::IntegratorMultiDimOptions Options() const override
get the option used for the integration
double fError
integration error
int Status() const override
return status of integration
unsigned int fMinPts
minimum number of function evaluation requested
const IMultiGenFunction * fFun
double DoIntegral(const double *xmin, const double *xmax, bool absVal=false)
double Integral(const double *xmin, const double *xmax) override
evaluate the integral with the previously given function between xmin[] and xmax[]
double Result() const override
return result of integration
int NEval() const override
return number of function evaluations in calculating the integral
~AdaptiveIntegratorMultiDim() override
destructor (no operations)
unsigned int fMaxPts
maximum number of function evaluation requested
void SetSize(unsigned int size)
set workspace size
void SetRelTolerance(double relTol) override
set relative tolerance
void SetFunction(const IMultiGenFunction &f) override
set the integration function (must implement multi-dim function interface: IBaseFunctionMultiDim)
double fResult
last integration result
void SetMaxPts(unsigned int n)
set max points
void SetAbsTolerance(double absTol) override
set absolute tolerance
double fRelError
Relative error.
int fNEval
number of function evaluation
double fAbsTol
absolute tolerance
double fRelTol
relative tolerance
unsigned int fSize
max size of working array (explode with dimension)
void SetOptions(const ROOT::Math::IntegratorMultiDimOptions &opt) override
set the options
double Error() const override
return integration error
int fStatus
status of algorithm (error if not zero)
double RelError() const
return relative error
unsigned int fDim
dimensionality of integrand
void SetMinPts(unsigned int n)
set min points
Documentation for the abstract class IBaseFunctionMultiDim.
Numerical multi dimensional integration options.
Interface (abstract) class for multi numerical integration It must be implemented by the concrete Int...
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.