L_ra
Joris Gillis edited this page Apr 4, 2023
·
3 revisions
Substitute multiple expressions in graph.
::
graph_substitute(MX ex, [MX] v, [MX] vdef) -> MX graph_substitute([MX] ex, [MX] v, [MX] vdef) -> [MX]
Substitute variable var with expression expr in multiple expressions,
preserving nodes
Extra doc: https://github.com/casadi/casadi/wiki/L_ra
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L720
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L720-L724
To edit, see writing tips.