Cholesky Factorization

Given a matrix $ A \in \Snxn $ its Cholesky factorization is given by $ A = L L^T $ where $ L \in \Snxn $ is LowerTriangular. Matrix $L$ is called the Cholesky factor of matrix $A$.

When is it a legal operation?


How is it used?

The Cholesky factorization is commonly used when solving a square SystemOfLinearEquations $ A x = b $ where SymmetricPositiveDefinite matrix $ A \in \Snxn $ and $ b \in \Sn $ are given and $ x \in \Sn $ is to be computed. If $ A = LL^T $, then

means

or

so that $ x $ can be computed by first solving the LowerTriangularSystem of equations $ L y = b $ (often referred to as ForwardSubstitution) and then solving the UpperTriangularSystem $ L^T x = y $ (often referred to as BackwardSubstitution).


Algorithms

$ A \becomes \chol( A ) $ denotes the operation that overwrites the Lowertriangular part of $ A $ with the LowerTriangular matrix $ L $.

Partitioned Matrix Expression

The PME for this operation is given by

Details of how to derive the PME for this operation.

Loop-invariants

The dependencies in the above PME allow for three different loop-invariants to be identified:

Algorithmic variants

Performance

Enlarge


Try it yourself



Related Operations

More Information

LinearAlgebraWiki: Cholesky factorization (last edited 2007-06-01 23:15:07 by MarthaGanser)