Stan Math Library
5.0.0
Automatic Differentiation
|
Eigen::Matrix< var, Eigen::Dynamic, 1 > stan::math::ode_store_sensitivities | ( | const F & | f, |
const std::vector< double > & | coupled_state, | ||
const Eigen::Matrix< T_y0_t0, Eigen::Dynamic, 1 > & | y0, | ||
const T_t0 & | t0, | ||
const T_t & | t, | ||
std::ostream * | msgs, | ||
const Args &... | args | ||
) |
Build output vars for a state of the ODE solve, storing the sensitivities precomputed using the forward sensitivity problem in precomputed varis.
F | Type of ODE right hand side |
T_y0_t0 | Type of initial state |
T_t0 | Type of initial time |
T_ts | Type of output times |
T_Args | Types of pass-through parameters |
f | Right hand side of the ODE | |
coupled_state | Current state of the coupled_ode_system | |
y0 | Initial state | |
t0 | Initial time | |
t | Times at which to solve the ODE at | |
[in,out] | msgs | the print stream for warning messages |
args | Extra arguments passed unmodified through to ODE right hand side |
Definition at line 36 of file ode_store_sensitivities.hpp.