Matrix multiplication can be viewed as the dot product of a row vector of column vectors with a column vector of row vectors

math.la.t.mat.mult.row.col