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

◆ operator()()

template<typename F , typename T_y0 , typename... Args>
void stan::math::coupled_ode_system_impl< true, F, T_y0, Args... >::operator() ( const std::vector< double > &  z,
std::vector< double > &  dz_dt,
double  t 
) const
inline

Evaluate the right hand side of the coupled system at state z and time t, and store the sensitivities in dz_dt.

For all arithmetic types the coupled system right hand side is the same as the regular ODE right hand side.

Parameters
[in]zState of coupled system
[out]dz_dtEvaluation of right hand side of coupled system
[in]tTime at which to evaluated right hand side
Exceptions
exceptionif the system function does not return the expected number of derivatives, N.

Definition at line 62 of file coupled_ode_system.hpp.