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

◆ ode_store_sensitivities() [1/2]

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 
)

When all arguments are arithmetic, there are no sensitivities to store, so the function just returns the current coupled_state.

Template Parameters
FType of ODE right hand side
T_y0_t0Type of initial state
T_t0Type of initial time
T_tsType of output times
T_ArgsTypes of pass-through parameters
Parameters
fRight hand side of the ODE
coupled_stateCurrent state of the coupled_ode_system
y0Initial state
t0Initial time
tTimes at which to solve the ODE at
[in,out]msgsthe print stream for warning messages
argsExtra arguments passed unmodified through to ODE right hand side
Returns
ODE state

Definition at line 35 of file ode_store_sensitivities.hpp.