AI engineering glossary · Linear algebra

What is transpose?

Transpose: The matrix obtained by swapping rows and columns, so entry (i, j) moves to (j, i). It turns row vectors into column vectors, appears in the formulas for dot products and least squares, and reverses the order when applied to a product.

Level: beginnerTopic: Linear algebra

Transpose: an example

The transpose of [[1,2,3],[4,5,6]] is [[1,4],[2,5],[3,6]].

Related terms

More Linear algebra terms

Where you learn it

Transpose 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.