23 #ifndef O2SCL_GSL_INTE_QAGS_H 24 #define O2SCL_GSL_INTE_QAGS_H 29 #include <o2scl/inte.h> 30 #include <o2scl/funct.h> 31 #include <o2scl/inte_singular_gsl.h> 33 #ifndef DOXYGEN_NO_O2NS 70 virtual int integ_err(func_t &func,
double a,
double b,
71 double &res,
double &err) {
77 #ifndef DOXYGEN_NO_O2NS The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
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 )