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

Standard documentation for Function.sparsity_in:

 [INTERNAL] 

::

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

Get sparsity of a given input.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L967-L973

.......

::

 sparsity_in(self, int ind)

[INTERNAL] Get sparsity of a given input.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L959-L965

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

.......

::

 sparsity_in(self, str iname)

[INTERNAL] Get sparsity of a given input.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L967-L973

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally