![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Multi-dimensional integration over a hypercube [abstract base]. More...
#include <multi_inte.h>
Multi-dimensional integration over a region defined by constant limits. For more general regions of integration, use children of the class gen_inte.
Definition at line 40 of file multi_inte.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() | |
const char * | type () |
Return string denoting type ("multi_inte") | |
Data Fields | |
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. |
virtual double multi_inte< func_t, vec_t >::minteg | ( | func_t & | func, |
size_t | ndim, | ||
const vec_t & | a, | ||
const vec_t & | b | ||
) | [inline, virtual] |
Reimplemented in gsl_vegas< func_t, rng_t, vec_t, alloc_vec_t, alloc_t >, gsl_miser< func_t, rng_t, vec_t, alloc_vec_t, alloc_t >, and gsl_monte< func_t, rng_t, vec_t, alloc_vec_t, alloc_t >.
Definition at line 74 of file multi_inte.h.
double multi_inte< func_t, vec_t >::get_error | ( | ) | [inline] |
This will quietly return zero if no integrations have been performed.
Definition at line 94 of file multi_inte.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).