Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Compute the [dim]-dimensional integral of the function \(f\) from \(a\) to \(b\) within specified relative and absolute tolerances or maximum number of evaluations.
\(a\) and \(b\) can be finite or infinite and should be given as vectors.
F | Type of f |
T_a | Type of lower limit of integration |
T_b | Type of upper limit of integration |
ParsTuple | Type of parameter-tuple |
TAbsErr | Type of absolute error |
TRelErr | Type of relative error |
integrand | a functor with signature given above |
pars | parameters to be passed to f as a tuple |
dim | dimension of the integral |
a | lower limit of integration as vector |
b | upper limit of integration as vector |
max_eval | maximal number of evaluations |
reqAbsError | absolute error |
reqRelError | relative error as vector |
std::domain_error | no errors will be thrown. |
Definition at line 405 of file hcubature.hpp.