![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
|
inline |
Compute the integral of the single variable function f from a to b to within a specified relative tolerance using adaptive Gauss-Kronrod (G21,K21) quadrature.
a and b can be finite or infinite.
| F | type of function to integrate |
| Args | types of additional arguments forwarded to f (all arithmetic) |
| f | the function to be integrated | |
| a | lower limit of integration | |
| b | upper limit of integration | |
| relative_tolerance | relative tolerance passed to Boost quadrature | |
| absolute_tolerance | absolute-error floor on the convergence test | |
| max_depth | maximum recursive bisection depth passed to Boost quadrature | |
| [in,out] | msgs | the print stream for warning messages |
| args | additional arguments passed to f |
Definition at line 127 of file integrate_1d_gauss_kronrod.hpp.