Dear team, I was trying to display an equation resulting from MatAdd, and noticed that I could not control the order in which the Matrices appear in the result.
For example, consider: from sympy import MatAdd, Matrix A = Matrix([1]) B = Matrix([0]) print(MatAdd(A, B, evaluate=False)) This gives Matrix([[0]]) + Matrix([[1]]) I want to be able to control the order in which the Matrices appear. What algorithm is Sympy using to sort the output? I guess it is looking at the Matrix contents? Do you have any suggestions for controlling the order? Thanks for any suggestions, Matthew -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAH6Pt5r5bhuprW7DHO0N3JYKVApA7ssS5gP31ySHjkYdNT-OYw%40mail.gmail.com.