11.2 The Inverse

   

 
Java Number Cruncher: The Java Programmer's Guide to Numerical Computing
By Ronald  Mak

Table of Contents
Chapter  11.   Matrix Inversion, Determinants, and Condition Numbers

11.2 The Inverse

We can use the LU decomposition algorithm to compute the inverse of square matrix A column by column. Each column j is the solution of the system Ax = i j , where i j is the j th column of the identity matrix I, since AA - 1 = I.

This is actually an efficient way to compute the inverse. We need to decompose matrix A only once. Then, we can solve each system Ax = i j using forward substitution and back substitution.

For example, if A is a 3 x 3 matrix, then the second column of A - 1 is the solution x of the system

graphics/11equ02.gif



   
Top
 


Java Number Cruncher. The Java Programmer's Guide to Numerical Computing
Java Number Cruncher: The Java Programmers Guide to Numerical Computing
ISBN: 0130460419
EAN: 2147483647
Year: 2001
Pages: 141
Authors: Ronald Mak

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net