Question: Matrix multiplication by a physics vector


I defined a vector (in cartesian coordinates) with Physics[Vectors] as

q_:=3 _i + 5 _j + 2 _k

Then I wanted do a transformation on this vector by multiplying it with matrix


However, I am getting a result where every element of the matrix is multiplied by the vector.

If I define q as <3,5,2> then matrix multiplication works as one would expect.

So, my question is how can I have a matrix multiplication with a vector defined with Physics[Vectors] package?

Please Wait...