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

Standard documentation for depends_on:

 Check if expression depends on the argument.

::

 depends_on(DM f, DM arg) -> bool
 depends_on(SX f, SX arg) -> bool
 depends_on(MX f, MX arg) -> bool

The argument must be symbolic

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L657

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L657-L659

Extra documentation

To edit, see writing tips.

Clone this wiki locally