-
Notifications
You must be signed in to change notification settings - Fork 364
L_192
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
Expand the expression as a weighted sum (with constant weights)
::
expand(DM ex) -> (DM OUTPUT1, DM OUTPUT2) expand(SX ex) -> (SX OUTPUT1, SX OUTPUT2)
Extra doc: https://github.com/casadi/casadi/wiki/L_192
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L620
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L620-L623
To edit, see writing tips.