{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
Matrices can be multiplied if the number of columns in the first matrix is the same as the number of rows in the second matrix. The resulting product will have the number of rows of the first matrix and the number of columns of the second matrix.
To multiply A by B, each element of the first row of A should be multiplied by the corresponding element of the first column of B. However, the element c of A does not have a corresponding element in B, because B has only 2 rows, whereas A has 3 columns. Therefore, the multiplication cannot be performed.