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

Standard documentation for Function.which_depends:

 [INTERNAL] 

::

 which_depends(self, str s_in, [str] s_out, int order, bool tr) -> [bool]

Which variables enter with some order.

Parameters:

order: Only 1 (linear) and 2 (nonlinear) allowed

tr: Flip the relationship. Return which expressions contain the variables

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1753-L1760

Extra documentation

To edit, see writing tips.

Clone this wiki locally