16#ifndef ROOT_Math_GaussLegendreIntegrator
17#define ROOT_Math_GaussLegendreIntegrator
User class for performing function integration.
User class for performing function integration.
void SetAbsTolerance(double) override
This method is not implemented.
int GetNumberPoints() const
void GetWeightVectors(double *x, double *w) const
Returns the arrays x and w containing the abscissa and weight of the Gauss-Legendre n-point quadratur...
ROOT::Math::IntegratorOneDimOptions Options() const override
get the option used for the integration
int NEval() const override
return number of function evaluations in calculating the integral This is equivalent to the number of...
void SetRelTolerance(double) override
Set the desired relative Error.
~GaussLegendreIntegrator() override
Default Destructor.
void CalcGaussLegendreSamplingPoints()
Type: unsafe but fast interface filling the arrays x and w (static method)
double * fX
Abscisa of the points used.
void SetOptions(const ROOT::Math::IntegratorOneDimOptions &opt) override
set the options (should be re-implemented by derived classes -if more options than tolerance exist
void SetNumberPoints(int num)
Set the number of points used in the calculation of the integral.
double DoIntegral(double a, double b, const IGenFunction *func) override
Integration surrogate method.
int fNum
Number of points used in the estimation of the integral.
double * fW
Weights of the points used.
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Numerical one dimensional integration options.
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.