Cholesky Factorization
Learn how to implement Cholesky factorization of matrices using R, Rccp, Armadillo, and Eigen.
Cholesky decomposition
Cholesky decomposition or factorization is a decomposition of a symmetric and positive definite real matrix into the product of a lower triangular matrix and its conjugate transpose. This is useful for efficient numerical solutions. Cholesky decomposition is roughly twice as efficient as the LU decomposition used for solving systems of linear equations.
A square matrix defined over the real numbers is defined as symmetric when .
A symmetric real matrix, , is said to be positive definite if the scalar is strictly positive for every nonzero column vector of real numbers.
The Cholesky decomposition of a square symmetric positive definite matrix is a decomposition of the form:
In this equation:
- is a lower triangular matrix with real and positive diagonal entries.
- denotes the transpose of .
Every real-valued symmetric positive-definite matrix has a unique Cholesky decomposition.
Get hands-on with 1200+ tech skills courses.