AI engineering glossary · Linear algebra
What is permutation matrix?
Permutation matrix: A square matrix of zeros and ones with exactly one 1 in each row and column. Multiplying by it reorders the rows or entries of a matrix or vector, and it is used to record row swaps in decompositions.
Permutation matrix: an example
[[0,1],[1,0]] times [7, 9] gives [9, 7].
Related terms
More Linear algebra terms
- Pivot
- Positive definite matrix
- Positive semi-definite matrix
- Power iteration
- Projection
- Projection matrix
- Pseudoinverse
- QR decomposition
Where you learn it
Permutation matrix is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.