Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for Function.jac_sparsity:

 [INTERNAL] 

::

 jac_sparsity(self, bool compact) -> [Sparsity]
 jac_sparsity(self, int oind, int iind, bool compact) -> Sparsity

Get, if necessary generate, the sparsity of a single Jacobian block.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L830

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L911-L917

.......

::

 jac_sparsity(self, bool compact)

[INTERNAL] Get, if necessary generate, the sparsity of all Jacobian blocks.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L825

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L900-L909

.............

.......

::

 jac_sparsity(self, int oind, int iind, bool compact)

[INTERNAL] Get, if necessary generate, the sparsity of a single Jacobian block.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L830

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L911-L917

.............

Extra documentation

To edit, see writing tips.

Clone this wiki locally