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

Standard documentation for Function.numel_out:

 [INTERNAL] 

::

 numel_out(self) -> int
 numel_out(self, int ind) -> int
 numel_out(self, str oname) -> int

Get number of output elements.

For a particular output or for all of the outputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L304-L304

.......

::

 numel_out(self)

[INTERNAL] Get number of output elements.

For a particular output or for all of the outputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L831-L833

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

.......

::

 numel_out(self, int ind)

[INTERNAL] Get number of output elements.

For a particular output or for all of the outputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L847-L849

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

.......

::

 numel_out(self, str oname)

[INTERNAL] Get number of output elements.

For a particular output or for all of the outputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L304-L304

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally