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

Standard documentation for Function.nz_from_in,Function.nz_from_out,Function.nz_to_in,Function.nz_to_out:

 [INTERNAL] 

::

 nz_from_in(self, [DM] arg) -> [float]

Convert from/to flat vector of input/output nonzeros.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1543-L1545

 [INTERNAL] 

::

 nz_from_out(self, [DM] arg) -> [float]

Convert from/to flat vector of input/output nonzeros.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1547-L1549

 [INTERNAL] 

::

 nz_to_in(self, [float] arg) -> [DM]

Convert from/to flat vector of input/output nonzeros.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1551-L1553

 [INTERNAL] 

::

 nz_to_out(self, [float] arg) -> [DM]

Convert from/to flat vector of input/output nonzeros.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1555-L1557

Extra documentation

To edit, see writing tips.

Clone this wiki locally