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

◆ cv_jacobian_rhs_states()

template<typename F , typename T_y0 , typename T_t0 , typename T_ts , typename... T_Args>
static constexpr int stan::math::cvodes_integrator_adjoint_vari< F, T_y0, T_t0, T_ts, T_Args >::cv_jacobian_rhs_states ( realtype  t,
N_Vector  y,
N_Vector  fy,
SUNMatrix  J,
void *  user_data,
N_Vector  tmp1,
N_Vector  tmp2,
N_Vector  tmp3 
)
inlinestaticconstexprprivate

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 696 of file cvodes_integrator_adjoint.hpp.