Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions
gsl_inte_qags< func_t > Class Template Reference

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

#include <gsl_inte_qags.h>

Inheritance diagram for gsl_inte_qags< func_t >:
gsl_inte_singular< func_t > gsl_inte_kronrod< func_t > gsl_inte inte< func_t >

Detailed Description

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

If a function is unbounded but has a finite integral, using the adaptive algorithm described for gsl_inte_qag to compute that integral (up to specified tolerance) will converge very slowly. The integration routine of this class remedies this by combining the adaptive algorithm with a series-acceleration method.

See GSL-based integration routines in the User's guide for general information about the GSL integration classes.

Definition at line 53 of file gsl_inte_qags.h.

Public Member Functions

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.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.