#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 41 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, param_t &pa) |
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, param_t &pa, double &res, double &err) |
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 | |
int | verbose |
Verbosity. | |
double | tolf |
The maximum "uncertainty" in the value of the integral (default ![]() | |
Protected Attributes | |
double | interror |
The uncertainty for the last integration computation. |
double get_error | ( | ) | [inline] |
Return the error in the result from the last call to minteg() or minteg_err().
This will quietly return zero if no integrations have been performed.
Definition at line 97 of file multi_inte.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