Stan Math Library
4.9.0
Automatic Differentiation
|
|
inlinestatic |
Implements the function of type CVDlsJacFn which is the user-defined callbacks for KINSOL to calculate the jacobian of the system.
The Jacobian is stored in column major format.
REMARK - tmp1 and tmp2 are pointers to memory allocated for variables of type N_Vector which can be used by KINJacFN (the function which computes the Jacobian) as temporary storage or work space. See https://computation.llnl.gov/sites/default/files/public/kin_guide-dev.pdf, page 55.
Definition at line 100 of file kinsol_data.hpp.