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

Standard documentation for Function.numel_in:

 [INTERNAL] 

::

 numel_in(self) -> int
 numel_in(self, int ind) -> int
 numel_in(self, str iname) -> int

Get number of input elements.

For a particular input or for all of the inputs

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

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

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

.......

::

 numel_in(self)

[INTERNAL] Get number of input elements.

For a particular input or for all of the inputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L827-L829

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

.......

::

 numel_in(self, int ind)

[INTERNAL] Get number of input elements.

For a particular input or for all of the inputs

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L843-L845

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

.......

::

 numel_in(self, str iname)

[INTERNAL] Get number of input elements.

For a particular input or for all of the inputs

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

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

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

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally