Multi-dimensional integration over a hypercube [abstract base]. More...
#include <inte_multi.h>
Multi-dimensional integration over a region defined by constant limits. For more general regions of integration, use children of the class inte_gen.
Definition at line 46 of file inte_multi.h.
Public Member Functions | |
virtual double | minteg (func_t &func, size_t ndim, const vec_t &a, const vec_t &b) |
Integrate function func over the hypercube from ![]() ![]() ![]() | |
virtual int | minteg_err (func_t &func, size_t ndim, const vec_t &a, const vec_t &b, double &res, double &err)=0 |
Integrate function func over the hypercube from ![]() ![]() ![]() | |
double | get_error () |
Return the error in the result from the last call to minteg() or minteg_err() More... | |
const char * | type () |
Return string denoting type ("inte_multi") | |
Public Attributes | |
bool | err_nonconv |
If true, call the error handler if the routine does not "converge". | |
int | verbose |
Verbosity. | |
double | tol_rel |
The maximum "uncertainty" in the value of the integral (default ![]() | |
Protected Attributes | |
double | interror |
The uncertainty for the last integration computation. | |
|
inline |
This will quietly return zero if no integrations have been performed.
Definition at line 100 of file inte_multi.h.
|
inlinevirtual |
Definition at line 80 of file inte_multi.h.
double o2scl::inte_multi< func_t, vec_t >::tol_rel |
Definition at line 69 of file inte_multi.h.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).