How to substitute values in matrix operation without solving?
How to substitute values in matrix operation without solving? Question: Literally what it says in the title. Let’s pretend the operation is addition of matrices. from sympy import Matrix, latex A = Matrix([[-7, 0], [4, 0]]) B = Matrix([[2, 0], [-3, -3]]) print( (A+B).a_method_that_evaluates_but_does_not_solve() ) I would like to get the following output. [[-7 + …