template<typename F , typename T_a , typename T_b , typename ParsPairT >
auto stan::math::internal::gauss_kronrod |
( |
const F & |
integrand, |
|
|
const T_a |
a, |
|
|
const T_b |
b, |
|
|
const ParsPairT & |
pars_pair |
|
) |
| |
|
inline |
Compute the integral of the function to be integrated (integrand) from a to b for one dimension.
- Template Parameters
-
F | type of the integrand |
T_a | type of lower limit of integration |
T_b | type of upper limit of integration |
ParsPairT | type of the pair of parameters for the integrand |
- Parameters
-
integrand | function to be integrated |
a | lower limit of integration |
b | upper limit of integration |
pars_pair | Pair of parameters for the integrand |
- Returns
- numeric integral of the integrand and error
Definition at line 218 of file hcubature.hpp.