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

Standard documentation for Function.index_in:

 [INTERNAL] 

::

 index_in(self, str name) -> int

Find the index for a string describing a particular entry of an input scheme.

example: schemeEntry("x_opt") -> returns NLPSOL_X if FunctionInternal adheres to SCHEME_NLPINput

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L927-L933

Extra documentation

To edit, see writing tips.

Clone this wiki locally