LU
-factorization
Algorithm
If
, fail!
If
n
= 1, return
L
= 1 and
.
Write
A
as
Define
. (Schur complement, see CLR p.755)
Recursively compute the
LU
-factorization of
Return
Correctness of the algorithm
Show
Base case --
Otherwise --
Show
L
is lower-triangular and
U
is upper-triangular (Exercise)
Termination: # recursive calls
Operation count
Computing
(Schur complement) costs
operations
Solve the recurrence relation. (Exercise)
Next:
PLU-factorization
Up:
SOLVING LINEAR SYSTEMS
Previous:
Expressing the Algorithm