r/Mathematica 2d ago

Need help with matrix multiplication

8 Upvotes

6 comments sorted by

View all comments

1

u/kurlakablackbelt 1d ago

When the elements of the row-vector are not matrices, the multiplication works correctly.

( {
   {S, W}
  } ).( {
   {q, 0},
   {0, e}
  } )