Class inte_qagil_gsl (o2scl)¶
- 
template<class func_t = funct>
class inte_qagil_gsl : public o2scl::inte_transform_gsl<funct>¶ Integrate a function over the interval \( (-\infty, b] \) (GSL)
The integral on the unbounded interval is rewritten over the semi-open interval \( (0, 1] \) via a variable transformation,
\[ \int_{-\infty}^b f(x)~dx = \int_0^1 f\left[b - (1-t)/t\right]t^{-2}~dt, \]and the right hand side is evaluated with o2scl::inte_qags_gsl.See GSL-based integration details in the User’s guide for general information about the GSL integration classes.
Public Functions
- 
inline virtual int integ_il_err(func_t &func, double b, double &res, double &err)¶
 Integrate function
funcfrom \( -\infty \) toband place the result inresand the error inerr.
- 
inline virtual int integ_err(func_t &func, double a, double b, double &res, double &err)¶
 Integrate function
funcfrom \( -\infty \) toband place the result inresand the error inerr.The value given is
ais ignored.
- 
inline virtual const char *type()¶
 Return string denoting type (“inte_qagil_gsl”)
Protected Functions
Protected Attributes
- 
double upper_limit¶
 The upper limit.
- 
inline virtual int integ_il_err(func_t &func, double b, double &res, double &err)¶