You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement generic simplifications that bring J into the shorter form J_terse (simplifications on-the-fly + simplifications in an MXFunction context that depend on the refcount), possibly displaying beneficial side-effects in other use cases
Supply a helper routine that performs the specific simplification of J to J_terse
Implement a new jacobian command (or option in existing command) to output form J_terse immediately without first doing J
The text was updated successfully, but these errors were encountered:
In some contexts, MX is used as SX (everything is scalar) with a few shortcomings lifted (being able to embed Functions).
For these situations, there are important optimizations missing.
Consider
For X=SX, we have
For Y=MX, we have
J
:This may conceivable be represented as, J_terse
Some related ideas:
One could:
J
into the shorter formJ_terse
(simplifications on-the-fly + simplifications in an MXFunction context that depend on the refcount), possibly displaying beneficial side-effects in other use casesJ
toJ_terse
J_terse
immediately without first doingJ
The text was updated successfully, but these errors were encountered: