gsl_inte_qagiu Class Template Reference

#include <gsl_inte_qagiu.h>

Inheritance diagram for gsl_inte_qagiu:

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_qagiu< param_t, func_t >

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

Todo:
I had to add extra code to check for non-finite values for some integrations. This should be checked.
The extra line was of the form:
      if (!finite(area1)) area1=0.0;
      

Definition at line 44 of file gsl_inte_qagiu.h.


Public Member Functions

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

Protected Member Functions

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

Protected Attributes

double la
 Store the lower limit.

Member Function Documentation

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

Integrate function func from a to $ \infty $.

The value b is ignored.

Reimplemented from inte.

Definition at line 64 of file gsl_inte_qagiu.h.

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

Integrate function func from a to $ \infty $ giving result res and error err.

The value b is ignored.

Reimplemented from inte.

Definition at line 77 of file gsl_inte_qagiu.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