If I have the 2X2 matrix [(1,1/b),(b,-b)] and 2x1 matrix (a,a) is there a way to carry out algebraic matrix multiplication (for example 1/b * a being a/b, and so on for the rest of the matrix elements) using any packages, and what packages would be make this possible.
As the matrices contain strings the multiply operation doesn't work. I was considering the SymPy package but I am not sure whether this would work in this case and if not how would you solve this problem and carry out this multiplication.