24 #ifndef O2SCL_GSL_INTE_QAGS_H
25 #define O2SCL_GSL_INTE_QAGS_H
30 #include <o2scl/inte.h>
31 #include <o2scl/funct.h>
32 #include <o2scl/inte_singular_gsl.h>
34 #ifndef DOXYGEN_NO_O2NS
71 virtual int integ_err(func_t &func,
double a,
double b,
72 double &res,
double &err) {
78 #ifndef DOXYGEN_NO_O2NS
int qags(func_t &func, const double a, const double b, const double l_epsabs, const double l_epsrel, double *result, double *abserr)
Integration function.
Base class for integrating a function with a singularity (GSL)
double tol_abs
The maximum absolute uncertainty in the value of the integral (default )
virtual int integ_err(func_t &func, double a, double b, double &res, double &err)
Integrate function func from a to b and place the result in res and the error in err.
Integrate a function with a singularity (GSL)
void set_rule(int rule)
Set the Gauss-Kronrod integration rule to be used.
double tol_rel
The maximum relative uncertainty in the value of the integral (default )