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

◆ operator()()

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

Calculates the right hand side of the coupled ode system (the regular ode system with forward sensitivities).

Parameters
[in]zstate of the coupled ode system; this must be size size()
[out]dz_dta vector of size size() with the derivatives of the coupled system with respect to time
[in]ttime
Exceptions
exceptionif the base ode function does not return the expected number of derivatives, N.

Definition at line 116 of file coupled_ode_system.hpp.