23 #ifndef O2SCL_INTE_TANH_SINH_BOOST_H 24 #define O2SCL_INTE_TANH_SINH_BOOST_H 32 #ifndef O2SCL_OLDER_COMPILER 33 #include <boost/math/quadrature/tanh_sinh.hpp> 36 #include <o2scl/inte.h> 38 #ifndef DOXYGEN_NO_O2NS 47 template<
class func_t=funct,
size_t max_refine=15,
class fp_t=
double>
49 public inte<func_t, fp_t> {
54 boost::math::quadrature::tanh_sinh<fp_t>
it;
71 fp_t &res, fp_t &err) {
82 #ifndef DOXYGEN_NO_O2NS The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
fp_t tol_rel
The maximum relative uncertainty in the value of the integral (default )
Base integration class [abstract base].
#define O2SCL_ERR2(d, d2, n)
Set an error, two-string version.
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.
boost::math::quadrature::tanh_sinh< fp_t > it
The boost integration object.
Tanh-sinh integration class (Boost)