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

Standard documentation for Function.slice:

 [INTERNAL] 

::

 slice(self, str name, [int] order_in, [int] order_out, dict opts) -> Function

returns a new function with a selection of inputs/outputs of the

original

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L715-L722

Extra documentation

To edit, see writing tips.

Clone this wiki locally