16#ifndef ROOT_Math_GaussIntegrator
17#define ROOT_Math_GaussIntegrator
71 double Result ()
const override;
74 double Error ()
const override;
77 int Status ()
const override;
149 double Integral (
double a,
double b)
override;
199 double Integral (
const std::vector< double > &pts)
override;
240 double DoEval(
double x)
const override;
247 double DoEval(
double x,
double boundary,
int sign)
const;
User class for performing function integration.
bool fUsedOnce
Bool value to check if the function was at least called once.
double Error() const override
Return the estimate of the absolute Error of the last Integral calculation.
double Integral() override
Returns Integral of function on an infinite interval.
double IntegralCauchy(double a, double b, double c) override
This method is not implemented.
~GaussIntegrator() override
Destructor.
double fLastResult
Result from the last estimation.
void SetRelTolerance(double eps) override
Set the desired relative Error.
void SetOptions(const ROOT::Math::IntegratorOneDimOptions &opt) override
set the options (should be re-implemented by derived classes -if more options than tolerance exist
double fLastError
Error from the last estimation.
virtual double DoIntegral(double a, double b, const IGenFunction *func)
Integration surrogate method.
double fEpsAbs
Absolute error.
void SetAbsTolerance(double eps) override
This method is not implemented.
ROOT::Math::IntegratorOneDimOptions Options() const override
get the option used for the integration
double IntegralUp(double a) override
Returns Integral of function on an upper semi-infinite interval.
static bool fgAbsValue
AbsValue used for the calculation of the integral.
double Result() const override
Returns the result of the last Integral calculation.
void SetFunction(const IGenFunction &) override
Set integration function (flag control if function must be copied inside).
double IntegralLow(double b) override
Returns Integral of function on a lower semi-infinite interval.
int Status() const override
return the status of the last integration - 0 in case of success
const IGenFunction * fFunction
Pointer to function used.
void AbsValue(bool flag)
Static function: set the fgAbsValue flag.
double fEpsRel
Relative error.
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Numerical one dimensional integration options.
Interface (abstract) class for 1D numerical integration It must be implemented by the concrete Integr...
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...