A simple precision-agnostic Newton-Cotes integrator. More...
#include <inte_adapt_cern.h>
Definition at line 77 of file inte_adapt_cern.h.
Public Member Functions | |
| virtual int | integ_err (func_t &func, fp_t a, fp_t b, fp_t &res, fp_t &err) |
Integrate function func from a to b giving result res and error err. | |
Public Member Functions inherited from o2scl::inte< func_t, fp_t > | |
| virtual fp_t | integ (func_t &func, fp_t a, fp_t b) |
Integrate function func from a to b. | |
| fp_t | get_error () |
| Return the numerically estimated error in the result from the last call to integ() More... | |
| virtual const char * | type () |
| Return string denoting type ("inte") | |
Additional Inherited Members | |
Public Attributes inherited from o2scl::inte< func_t, fp_t > | |
| int | verbose |
| Verbosity. | |
| size_t | last_iter |
| The most recent number of iterations taken. | |
| fp_t | tol_rel |
The maximum relative uncertainty in the value of the integral (default ) | |
| fp_t | tol_abs |
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 or reach the desired tolerance (default true) More... | |
Protected Attributes inherited from o2scl::inte< func_t, fp_t > | |
| fp_t | interror |
| The uncertainty for the last integration computation. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).