gsl_inte_qags Class Template Reference

Integrate a function with a singularity (GSL). More...

#include <gsl_inte_qags.h>

Inheritance diagram for gsl_inte_qags:

gsl_inte_singular gsl_inte_kronrod gsl_inte_table inte gsl_inte

Detailed Description

template<class param_t, class func_t = funct<param_t>>
class gsl_inte_qags< param_t, func_t >

Integrate a function with a singularity (GSL).

The number of subdivisions of the original interval which this class is allowed to make is dictated by the workspace size for the integration class, which can be set using gsl_inte_table::set_wkspace() .

Todo:
The convergence errors need to be handled correctly in function qags in gsl_inte_qag_b.h.

Definition at line 45 of file gsl_inte_qags.h.


Public Member Functions

virtual double integ (func_t &func, double a, double b, param_t &pa)
 Integrate function func from a to b.
virtual int integ_err (func_t &func, double a, double b, param_t &pa, double &res, double &err2)
 Integrate function func from a to b and place the result in res and the error in err.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page