Is there any particular reason for this difference? |
Use of matrix rows vs matrix columns for recording vectors is completely a matter of convention. Every book/author is free to choose his own convention.
More than enough ground for a holy war :)
My favorite convention, and that used by most books I have read, is to write vectors as column matrices.
Choosing vector rows vs. vector columns however *fixes* the "transposition" of all matrices. Once you fix that, there is no further "choice of transposition": all matrices should match the convention you chose by fixing vector rows vs. vector columns.
The two conventions in a nutshell:
1. Convention vector-columns.
- the i^th matrix column denotes the image of the i^th basis vector.
If A and B are two linear operators with matrices mat(A), mat(B), then
mat (A*B)=mat (A)mat(B)
2. Convention vector-rows.
- the i^th matrix row denotes the image of the i^th basis vector.
If A and B are two linear operators with matrices mat(A), mat(B), then
mat (A *B)=mat(B)*mat(A)
Under convention vector-rows, you gotta reverse the order of multiplication of matrices away from the usually accepted one.