Is there any function like Solve but designed to deal with matrix equations? Something like:
mA = {{1, 2}, {3, 4}};
mC = {{19, 22}, {43, 50}};
Solve[mA.mX == mC, mX] (* should return {{5, 6}, {7, 8}} *)
I know that you could just type
Inverse[mA].mC
but I'm curious if there is other way to do this.
LinearSolve[]
instead ofInverse[]
, whenever possible. $\endgroup$ – J. M.'s ennui♦ Jun 8 '16 at 18:18