Example 4.  Find the  A = LU factorization for the matrix  [Graphics:Images/CholeskyMod_gr_96.gif]  using the Cholesky subroutine.
Remark. The matrix  A  must be real, symmetric and positive definite.  

Solution 4.

Enter the matrix.

[Graphics:../Images/CholeskyMod_gr_97.gif]

Invoke the subroutine Cholesky.  

[Graphics:../Images/CholeskyMod_gr_98.gif]

[Graphics:../Images/CholeskyMod_gr_99.gif]

[Graphics:../Images/CholeskyMod_gr_100.gif]

[Graphics:../Images/CholeskyMod_gr_101.gif]

[Graphics:../Images/CholeskyMod_gr_102.gif]

[Graphics:../Images/CholeskyMod_gr_103.gif]

[Graphics:../Images/CholeskyMod_gr_104.gif]

[Graphics:../Images/CholeskyMod_gr_105.gif]

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2003