-
Notifications
You must be signed in to change notification settings - Fork 391
L_1ck
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
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
To edit, see writing tips.