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

Standard documentation for Function.sparsity_out:

 [INTERNAL] 

::

 sparsity_out(self, int ind) -> Sparsity
 sparsity_out(self, str iname) -> Sparsity

Get sparsity of a given output.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L983-L989

.......

::

 sparsity_out(self, int ind)

[INTERNAL] Get sparsity of a given output.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L975-L981

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

.......

::

 sparsity_out(self, str iname)

[INTERNAL] Get sparsity of a given output.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L983-L989

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally