#include <gsl_inte_qag.h>
Definition at line 39 of file gsl_inte_qag.h.
Public Member Functions | |
gsl_inte_qag (int key=1) | |
int | set_key (int key) |
Set the number of integration points. | |
int | get_key () |
Return the key used (1-6). | |
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 and place the result in res and the error in err . | |
Protected Member Functions | |
int | qag (func_t &func, const int qn, const double xgk[], const double wg[], const double wgk[], double fv1[], double fv2[], const double a, const double b, const double l_epsabs, const double l_epsrel, const size_t limit, double *result, double *abserr, param_t &pa) |
Perform an adaptive integration given the coefficients, and returning result . | |
const char * | type () |
Return string denoting type ("gsl_inte_qag"). | |
Protected Attributes | |
int | lkey |
Select the number of integration points. |
int set_key | ( | int | key | ) | [inline] |
Set the number of integration points.
The possible values for key
are:
If an integer other than 1-6 is given, the default (GSL_INTEG_GAUSS15) is assumed, and the error handler is called.
Definition at line 76 of file gsl_inte_qag.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