
314 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
matrices as the operation of obtaining the product by summing the element-wise product of each
of the rows of the rst matrix with each of the columns of the second matrix. This operation is not
commutative. Therefore, we need to distinguish between premultiplication and postmultiplica-
tion. In order to multiply two matrices, we must match number of columns in the rst multiplier
with the number of rows in the second
AB C
nr rm
where
n × r are the dimensions of matrix A
r × m are the dimensions of matrix B
Here, matrix A premultiplies matrix B. The resulti ...