gsl_inte_qagi Class Template Reference

Integrate a function from $ -\infty $ to $ \infty $ (GSL). More...

#include <gsl_inte_qagi.h>

Inheritance diagram for gsl_inte_qagi:

gsl_inte_transform 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_qagi< param_t, func_t >

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() .

Definition at line 42 of file gsl_inte_qagi.h.


Public Member Functions

virtual double integ (func_t &func, double a, double b, param_t &pa)
 Integrate function func from $ -\infty $ to $ \infty $.
virtual int integ_err (func_t &func, double a, double b, param_t &pa, double &res, double &err2)
 Integrate function func from $ \infty $ to $ \infty $ giving result res and error err.

Protected Member Functions

virtual double transform (func_t &func, double t, param_t &pa)
 Tranformation to $ t \in (0,1] $.

Member Function Documentation

virtual double integ ( func_t &  func,
double  a,
double  b,
param_t &  pa 
) [inline, virtual]

The values given in a and b are ignored

Implements inte.

Definition at line 52 of file gsl_inte_qagi.h.

virtual int integ_err ( func_t &  func,
double  a,
double  b,
param_t &  pa,
double &  res,
double &  err2 
) [inline, virtual]

The values a and b are ignored

Implements inte.

Definition at line 64 of file gsl_inte_qagi.h.


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