Go to the documentation of this file.
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
Integrate a function with a singularity (GSL)
void set_rule(int rule)
Set the Gauss-Kronrod integration rule to be used.
The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
Base class for integrating a function with a singularity (GSL)
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.
int qags(funct &func, const double a, const double b, const double l_epsabs, const double l_epsrel, double *result, double *abserr)
Integration function.
double tol_abs
The maximum absolute uncertainty in the value of the integral (default )
double tol_rel
The maximum relative uncertainty in the value of the integral (default )
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).