#include <gsl_inte_qng.h>
integ() uses 10-point, 21-point, 43-point, and 87-point Gauss-Kronrod integration successively until the integral is returned within the accuracy specified by tolx and tolf.
Definition at line 226 of file gsl_inte_qng.h.
Public Member Functions | |
virtual double | integ (func_t &func, double a, double b, param_t &pa) |
Integrate function func from a to b . | |
virtual int | integ_err (func_t &func, double a, double b, param_t &pa, double &res, double &err2) |
Integrate function func from a to b giving result res and error err . | |
const char * | type () |
Return string denoting type ("gsl_inte_qng"). | |
Data Fields | |
size_t | feval |
The number of function evalutions for the last integration. |
size_t feval |
The number of function evalutions for the last integration.
Set to either 0, 21, 43, or 87, depending on the number of function evaluations that were used. This variable is zero if an error occurs before any function evaluations were performed and is never equal 10, since in the 10-point method, the 21-point result is used to estimate the error. If the function fails to achieve the desired precision, feval is set to 88.
Definition at line 241 of file gsl_inte_qng.h.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page