![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
5,6-point Gaussian quadrature (CERNLIB) More...
#include <cern_gauss56.h>
If is the 5-point approximation, and
is the 6-point approximation to the integral, then integ_err() returns the result
with uncertainty
.
This class is based on the CERNLIB routines RGS56P and DGS56P which are documented at http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/d106/top.html
Definition at line 44 of file cern_gauss56.h.
Public Member Functions | |
virtual int | integ_err (func_t &func, double a, double b, double &res, double &err) |
Integrate function func from a to b giving result res and error err . | |
Protected Attributes | |
Integration constants | |
double | x5 [5] |
double | w5 [5] |
double | x6 [6] |
double | w6 [6] |
virtual int cern_gauss56< func_t >::integ_err | ( | func_t & | func, |
double | a, | ||
double | b, | ||
double & | res, | ||
double & | err | ||
) | [inline, virtual] |
This function always returns gsl_success.
Implements inte< func_t >.
Definition at line 79 of file cern_gauss56.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).