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

◆ wiener7_integrate()

template<GradientCalc GradSW, GradientCalc GradW7 = GradientCalc::OFF, typename Wiener7FunctorT , typename T_err , typename... TArgs>
auto stan::math::internal::wiener7_integrate ( const Wiener7FunctorT &  wiener7_functor,
T_err &&  hcubature_err,
TArgs &&...  args 
)
inline

Implementation function for preparing arguments and functor to be passed to the hcubature() function for calculating wiener7 parameters via integration.

Template Parameters
GradSWWhether the gradient of sw is computed
GradW7Whether the gradient of w is computed in the full model
Wiener7FunctorTType of functor
T_errType of error in hcubature
Targs...Types of arguments in parameter pack
Parameters
wiener7_functorGradient/density functor to apply
hcubature_errError tolerance for calculation
argsAdditional arguments to be passed to the hcubature function
Returns
Wiener7 density or gradient calculated by integration

Definition at line 138 of file wiener_full_lpdf.hpp.