Class inte_exp_sinh_boost (o2scl)

O2scl : Class List

template<class func_t = funct, size_t max_refine = 15, class fp_t = double>
class inte_exp_sinh_boost : public o2scl::inte<funct, double>

Exp-sinh integration class (Boost)

This class calls the error handler if the error returned by boost is larger than inte::tol_rel .

Native range is 0 to \( \infty \), but any semi-infinite range is supported.

Public Functions

inline inte_exp_sinh_boost()
inline virtual ~inte_exp_sinh_boost()
inline virtual const char *type()

Return string denoting type (“inte_exp_sinh_boost”)

inline virtual int integ_err(func_t &func, fp_t a, fp_t b, fp_t &res, fp_t &err)

Integrate function func from a to b and place the result in res and the error in err.

inline virtual int integ_iu_err(func_t &func, fp_t a, fp_t &res, fp_t &err)

Integrate function func from a to \( \infty \) and place the result in res and the error in err.

inline virtual int integ_il_err(func_t &func, fp_t b, fp_t &res, fp_t &err)

Integrate function func from \( -\infty \) to b and place the result in res and the error in err.

Public Members

fp_t L1norm

L1 norm of the last integral computed.

size_t levels

Number of refinement levels in last integral computed.

Protected Attributes

boost::math::quadrature::exp_sinh<fp_t> it

The boost integration object.