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

◆ cv_jacobian_states()

template<int Lmm, typename F , typename T_y0 , typename T_t0 , typename T_ts , typename... T_Args>
static int stan::math::cvodes_integrator< Lmm, F, T_y0, T_t0, T_ts, T_Args >::cv_jacobian_states ( realtype  t,
N_Vector  y,
N_Vector  fy,
SUNMatrix  J,
void *  user_data,
N_Vector  tmp1,
N_Vector  tmp2,
N_Vector  tmp3 
)
inlinestaticprivate

Implements the function of type CVDlsJacFn which is the user-defined callback for CVODES to calculate the jacobian of the ode_rhs wrt to the states y.

The jacobian is stored in column major format.

Definition at line 93 of file cvodes_integrator.hpp.