Matrix types
Square Matrix
A matrix where the number of rows(m) equals to the number of columns(n).
Main diagonal: The vector of values along the diagonal of the matrix from the top left to the bottom right.
Symmetric Matrix
A type of square matrix where the top-right triangle is the same as the bottom-left triangle. Note: The axis of symmetry is always the main diagonal.
Triangular Matrix
A type of square matrix that has values in the upper-right or lower-left triangle and filled with zeros in the rest.
Diagonal Matrix
A matrix where values outside the main diagonal have zero value; often represented as D. Note: A diagonal matrix does not have to be square.
Identity Matrix
A square matrix that does not change a vector when multiplied; often represented as 'I' or 'In'.
Orthogonal Matrix
Recap: Two vectors are orthogonal when their dot product equals zero, called orthonormal.
Orthogonal matrix is a square matrix whose columns and rows are orthonormal unit vectors; i.e perpendicular and also have a length/magnitude of 1. It is often denoted as 'Q'.
Link: - Introduction to Matrix Types in Linear Algebra for Machine Learning
Last updated
Was this helpful?