concept first matrix in category python
appears as: first matrix

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python.
That’s how we do matrix multiplication. You can see there’s nothing to it besides carefully composing linear operators. Similarly, you can use mnemonics instead of reasoning through this process each time. Because multiplying a 3-by-3 matrix by a column vector is the same as doing three dot products, multiplying two 3-by-3 matrices together is the same as doing nine dot products—all possible dot products of rows of the first matrix with columns of the second as shown in figure 5.2.
Figure 5.2: Each entry of a product matrix is a dot product of a row of the first matrix with a column of the second matrix.
![]()