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

◆ store_state() [1/2]

template<typename F , typename T_y0 , typename T_t0 , typename T_ts , typename... T_Args>
void stan::math::cvodes_integrator_adjoint_vari< F, T_y0, T_t0, T_ts, T_Args >::store_state ( std::size_t  n,
const Eigen::VectorXd &  state,
Eigen::Matrix< var, Eigen::Dynamic, 1 > &  state_return 
)
inlineprivate

Overloads which setup the states returned from the forward solve.

In case the return type is a double only, then no autodiff is needed. In case of autodiff then non-chaining varis are setup accordingly.

Definition at line 368 of file cvodes_integrator_adjoint.hpp.