This example looks at matrix_expand
View output (PDF) | source (python)
- See also
casadi::matrix_expand(x);
Function expand() const
Expand a function to SX.
25 from casadi.tools
import *
42 f = Function(
"f", [a,b,c],[e])
44 dotdraw(g(*g.sx_in()))
49 dotdraw(matrix_expand(e))
54 dotdraw(matrix_expand(e,[d]))