Cholesky Factorization
Explore how to perform Cholesky factorization, which decomposes symmetric positive definite matrices into lower triangular matrices. Learn implementations and tests in R, Rcpp, Armadillo, and Eigen to efficiently solve matrix computations.
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.