template<typename F , typename T_y0_t0 , typename T_t0 , typename T_t , typename... Args, typename = require_all_arithmetic_t<T_y0_t0, T_t0, T_t, scalar_type_t<Args>...>>
Eigen::VectorXd stan::math::ode_store_sensitivities |
( |
const F & |
f, |
|
|
const std::vector< double > & |
coupled_state, |
|
|
const Eigen::Matrix< T_y0_t0, Eigen::Dynamic, 1 > & |
y0, |
|
|
T_t0 |
t0, |
|
|
T_t |
t, |
|
|
std::ostream * |
msgs, |
|
|
const Args &... |
args |
|
) |
| |
|
inline |
When all arguments are arithmetic, there are no sensitivities to store, so the function just returns the current coupled_state.
- Template Parameters
-
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 |
- 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 |
- Returns
- ODE state
Definition at line 35 of file ode_store_sensitivities.hpp.