Contents
LU Factorization
Definition
Definition: Given matrix
, with
, its LU factorization is given by
where
is unit lower trapezoidal and
is upper triangular.
Theorems, Lemmas, and Corollaries
Theorem: Given a matrix
,
, its LU factorization exists if every leading principle submatrix of
is nonsingular.
How is it used?
The LU factorization is commonly used when solving a square system of linear equations
where
and
are given and
is to be computed. If
, then
means
or
where
so that
can be computed by first solving the lower triangular system of equations
(often referred to as forward substitution) and then solving the upper triangular system
(often referred to as backward substitution).
Algorithms
denotes the operation that overwrites
the LowerTrapezoidal part of
with the UnitLowerTrapezoidal matrix
, and the UpperTriangular part of
with the UpperTriangular matrix
.
The diagonal of
, which consists of unit elements, is not stored.
Partitioned Matrix Expression
The PME for this operation is given by
Here
.
Details of how to derive the PME for this operation.
Loop-invariants
The dependencies in the above PME allow for five different loop-invariants to be identified:
Invariant 1

Invariant 2

Invariant 3

Invariant 4

Invariant 5

Algorithmic variants
Variant 1
unb
blk
Variant 2
unb
blk
Variant 3
unb
blk
Variant 4
unb
blk
Variant 5
unb
blk
Performance
|
Numerical Properties
Related Operations

