AI engineering glossary · Linear algebra

What is matrix multiplication?

Matrix multiplication (also called Matmul): Combining an m x n matrix with an n x p matrix to give an m x p matrix, where each entry is the dot product of a row from the first and a column from the second. It represents applying one transformation after another and is the main workload of neural networks.

Level: beginnerTopic: Linear algebra

Matrix multiplication: an example

[[1,2],[3,4]] times [[5],[6]] = [[1*5+2*6],[3*5+4*6]] = [[17],[39]].

Related terms

More Linear algebra terms

Where you learn it

Matrix multiplication is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.