Machine Learning, Artificial Intelligence, Data Science.
Diagonal matrix A diagonal matrix S has all non-diagonal elements equal zero. Many factorization methods have one of the decomposed matrices to be a diagonal matrix. Since the matrix contains diagonal elements only, we sometimes write it in term of a vector. The inverse of a generic matrix is not