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

◆ integrate_1d_double_exponential_tol() [1/2]

template<typename F , typename T_a , typename T_b , typename... Args, require_any_st_fvar< T_a, T_b, Args... > * = nullptr>
return_type_t< T_a, T_b, Args... > stan::math::integrate_1d_double_exponential_tol ( const F &  f,
const T_a &  a,
const T_b &  b,
double  relative_tolerance,
double  absolute_tolerance,
int  max_refinements,
std::ostream *  msgs,
const Args &...  args 
)
inline

Return the integral of f from a to b using adaptive double-exponential quadrature, with tangents computed via finite differences over the integrand parameters.

Return the integral of f from a to b using adaptive double-exponential quadrature.

Template Parameters
FType of f
T_atype of first limit
T_btype of second limit
Argstypes of parameter pack arguments
Parameters
fthe functor to integrate
alower limit of integration
bupper limit of integration
relative_tolerancerelative tolerance passed to Boost quadrature
absolute_toleranceabsolute-error floor on the convergence test
max_refinementsmaximum refinement level passed to the Boost quadrature class constructor
[in,out]msgsthe print stream for warning messages
argsadditional arguments to pass to f
Returns
numeric integral of function f

Definition at line 37 of file integrate_1d_double_exponential.hpp.