Learn Before
Concept

Linear Algebra - Diagonal Matrices

A matrix satisfying that have nonzero entries only along the main diagonal is called diagonal matrix. Formally, a matrix DD is a diagonal matrix if and only if Di,j=0D_{i,j} = 0 for all iji \neq j. diag(v)diag(v) is used to denote a diagonal matrix which main diagonal is the vector vv. Keep in mind that not all diagonal matrices need to be square.

0

1

Updated 2021-05-17

References


Tags

Data Science