Class inte_gauss56_cern (o2scl)

O2scl : Class List

template<class func_t, class fp_t>
class inte_gauss56_cern : public o2scl::inte_gauss56_cern_base<func_t, fp_t>

5,6-point Gaussian quadrature (CERNLIB)

If \( I_5 \) is the 5-point approximation, and \( I_6 \) is the 6-point approximation to the integral, then integ_err() returns the result \( \frac{1}{2}(I_5+I_6) \) with uncertainty \( |I_5-I_6| \).

This class is based on the CERNLIB routines RGS56P and DGS56P were originally documented at http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/d106/top.html . (3/10/2020: The CERNLIB links are apparently dead and haven’t been supported since 2003.)