47 double integrate(
double const& xmin,
double const& xmax,
double const& eps)
const;
59 double integrate(
double const& xmin,
double const& xmax, std::vector<double>
const& FixPts,
double const& eps)
const;
75 double integrate(std::vector<double>
const& FixPts,
double const& eps)
const;
87 double integrate(
double const& xmin,
double const& xmax,
int const& n = 1)
const;
101 double integrate(
double const& xmin,
double const& xmax, std::vector<double>
const& FixPts,
int const& n = 1)
const;
117 double integrate(std::vector<double>
const& FixPts,
int const& n = 1)
const;
140 std::pair<double, double>
integrateGL(
double const& xmin,
double const& xmax)
const;
150 std::pair<double, double>
integrateGK(
double const& xmin,
double const& xmax)
const;
161 double integrateGL(
double const& xmin,
double const& xmax,
int const& n)
const;
172 double integrateGK(
double const& xmin,
double const& xmax,
int const& n)
const;
175 std::function<double(
double const&)>
const _func;
The Integrator class performs unidimensional numerical integrations using the Guassian quadrature.
Definition integrator.h:19
double integrateGL(double const &xmin, double const &xmax, int const &n) const
Function that integrates the integrand using the Gauss-Legendre method (no accuracy estimate).
IntegrationMethod
Definition integrator.h:25
@ GAUSS_LEGENDRE
Definition integrator.h:25
@ GAUSS_KRONROD
Definition integrator.h:25
std::function< double(double const &)> const _func
The integrand function.
Definition integrator.h:175
double integrate(double const &xmin, double const &xmax, std::vector< double > const &FixPts, int const &n=1) const
Function that integrates the integrand with a given relative accuracy using a set of fixed point on t...
double integrand(double const &x) const
Function for the integrand.
Definition integrator.h:124
std::pair< double, double > integrateGK(double const &xmin, double const &xmax) const
Function that integrates the integrand using the Gauss-Kronrod method.
double integrate(double const &xmin, double const &xmax, std::vector< double > const &FixPts, double const &eps) const
Function that integrates the integrand with a given relative accuracy using a set of fixed point on t...
IntegrationMethod const _method
The integration method.
Definition integrator.h:176
double integrateGK(double const &xmin, double const &xmax, int const &n) const
Function that integrates the integrand using the Gauss-Kronrod method (no accuracy estimate).
double integrate(std::vector< double > const &FixPts, double const &eps) const
Function that integrates the integrand with a given relative accuracy using a set of fixed point on t...
double integrate(std::vector< double > const &FixPts, int const &n=1) const
Function that integrates the integrand with a given relative accuracy using a set of fixed point on t...
Integrator(std::function< double(double const &)> const &func, IntegrationMethod const &method=GAUSS_KRONROD)
The Integrator constructor.
double integrate(double const &xmin, double const &xmax, int const &n=1) const
Function that integrates the integrand with a given relative accuracy using the method defined in the...
std::pair< double, double > integrateGL(double const &xmin, double const &xmax) const
Function that integrates the integrand using the Gauss-Legendre method.
IntegrationMethod Method() const
Function that returns the integration method.
Definition integrator.h:129
double integrate(double const &xmin, double const &xmax, double const &eps) const
Function that integrates the integrand with a given relative accuracy using the method defined in the...
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14