-
Notifications
You must be signed in to change notification settings - Fork 358
L_py
[INTERNAL]
::
MX - Matrix expression.
The MX class is used to build up trees made up from MXNodes. It is a more
general graph representation than the scalar expression, SX, and much less efficient for small objects. On the other hand, the class allows much more general operations than does SX, in particular matrix valued operations and calls to arbitrary differentiable functions.
The MX class is designed to have identical syntax with the Matrix<> template class, and uses DM (i.e. Matrix) as its internal
representation of the values at a node. By keeping the syntaxes identical, it is possible to switch from one class to the other, as well as inlining
MX functions to SXElem functions.Note that an operation is always "lazy", making a matrix multiplication will create a matrix multiplication node, not perform the actual multiplication.
Joel Andersson
Extra doc: https://github.com/casadi/casadi/wiki/L_py
C++ includes: mx.hpp
To edit, see writing tips.