Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ gauss_kronrod()

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
Ftype of the integrand
T_atype of lower limit of integration
T_btype of upper limit of integration
ParsPairTtype of the pair of parameters for the integrand
Parameters
integrandfunction to be integrated
alower limit of integration
bupper limit of integration
pars_pairPair of parameters for the integrand
Returns
numeric integral of the integrand and error

Definition at line 218 of file hcubature.hpp.