In this paper, some necessary and sufficient condition about the equivalence of two column vector groups has been discussed.
It's just something to remember: if you have a square matrix times a column vector, the product that makes sense is with the matrix on the left, and the vector on the right.