#include <inte.h>
Definition at line 40 of file inte.h.
Public Member Functions | |
virtual double | integ (func_t &func, double a, double b, param_t &pa)=0 |
Integrate function func from a to b . | |
virtual int | integ_err (func_t &func, double a, double b, param_t &pa, double &res, double &err)=0 |
Integrate function func from a to b and place the result in res and the error in err . | |
double | get_error () |
Return the error in the result from the last call to integ(). | |
virtual const char * | type () |
Return string denoting type ("inte"). | |
Data Fields | |
int | verbose |
Verbosity. | |
int | last_iter |
The most recent number of iterations taken. | |
double | tolf |
The maximum relative uncertainty in the value of the integral (default ![]() | |
double | tolx |
The maximum absolute uncertainty in the value of the integral (default ![]() | |
bool | err_nonconv |
If true, call the error handler if the routine does not "converge". | |
int | last_conv |
Zero if last call to integ() or integ_err() converged. | |
Protected Attributes | |
double | interror |
The uncertainty for the last integration computation. |
double get_error | ( | ) | [inline] |
int last_conv |
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