[algogeeks] Re: can any body help me in writing a C program find the reverse any given matrix

2006-05-16 Thread shishir
det(A) ! = 0 , for inverse to exist. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email

[algogeeks] Re: can any body help me in writing a C program find the reverse any given matrix

2006-05-16 Thread Hei Makaroni
Yes, my bad. The determinant must be different from 0 if the inverse exists. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com To

[algogeeks] Re: can any body help me in writing a C program find the reverse any given matrix

2006-05-15 Thread Hei Makaroni
One way of doing this is to use gaussian elimination. If the matrix to invert is A, the inversion of A is A' and the identity matrix is I, then the algorithm is: Row reduce A until it is I. If you now use the same row reductions on I, you get A'. The reduction of A can be written: E1 E2