gsl_inte_qagil Class Template Reference

Integrate a function from $ -\infty $ to $ \mathrm{b} $ (GSL). More...

#include <gsl_inte_qagil.h>

Inheritance diagram for gsl_inte_qagil:

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_qagil< 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_qagil.h.


Public Member Functions

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

Protected Member Functions

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

Protected Attributes

double lb
 Store the upper limit.

Member Function Documentation

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

The value given in a is ignored.

Implements inte.

Definition at line 61 of file gsl_inte_qagil.h.

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

The value given in a is ignored.

Implements inte.

Definition at line 74 of file gsl_inte_qagil.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