|
From: David S. <tom...@us...> - 2026-07-12 13:03:10
|
- **labels**: simplus, matrix --> simplus, matrix, simptimes - **summary**: Matrix ordered incorrectly in sum --> Matrix ordered incorrectly in sums and products - Description has changed: Diff: ~~~~ --- old +++ new @@ -9,3 +9,13 @@ ~~~ The correct output for `(%o3)` is `v + matrix([2])`. + +The exact same bug exists for products: + +~~~ +(%i4) expr : v * matrix([1]); +(%o4) v * matrix([1]) + +(%i5) expr * matrix([1]); +(%o5) v * matrix([1]) * matrix([1]) +~~~ ~~~~ --- **[bugs:#4815] Matrix ordered incorrectly in sums and products** **Status:** open **Group:** None **Labels:** simplus matrix simptimes **Created:** Sun Jul 12, 2026 01:00 PM UTC by David Scherfgen **Last Updated:** Sun Jul 12, 2026 01:00 PM UTC **Owner:** nobody ~~~ (%i1) declare(v, nonscalar)$ (%i2) expr : v + matrix([1]); (%o2) v + matrix([1]) (%i3) expr + matrix([1]); (%o3) v + matrix([1]) + matrix([1]) ~~~ The correct output for `(%o3)` is `v + matrix([2])`. The exact same bug exists for products: ~~~ (%i4) expr : v * matrix([1]); (%o4) v * matrix([1]) (%i5) expr * matrix([1]); (%o5) v * matrix([1]) * matrix([1]) ~~~ --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |