Skip to content
Joris Gillis edited this page Apr 4, 2023 · 1 revision

Standard documentation for jacobian_sparsity:

 Get the sparsity pattern of a jacobian.

::

 jacobian_sparsity(DM f, DM x) -> Sparsity
 jacobian_sparsity(SX f, SX x) -> Sparsity
 jacobian_sparsity(MX f, MX x) -> Sparsity

Equivalent to, but cheaper to compute than, jacobian(f,x). sparsity()

Extra doc: https://github.com/casadi/casadi/wiki/L_259

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L884

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L884-L886

Extra documentation

To edit, see writing tips.

Clone this wiki locally