As I am sure, you read in my reply that I stated that the Guass-Jordan method is faster. However, the transpose of the adjoint is an easier algorithm to code.
If you are interested in the Guass-Jordan algorithm then look at the following link: http://www.nrbook.com/a/bookcpdf.php. Please read what I say carefully before attempting to contradict me. In most situations, the size of a matrix is not arbitrary (except in engineering and physics problems). --- saurabh gupta <[EMAIL PROTECTED]> wrote: > > HI Neha > > Thanks , but its the transpose of Coadjoint matrix , > which gets complex as the size of the matrix increases. > > I was looking for some kind of algorithm if anyone has > for the inverse of matrix > > thanks& regards > saurabh > "Joseph A. Marrero" <[EMAIL PROTECTED]> wrote: > > > --- neha lodha <[EMAIL PROTECTED]> wrote: > > > hey, i think u want to find transpose of a matrix.... > > for this just interchange the rols of row and columns > > in the loop.. > > like... > > for(i=o;i<r;i++) > > { > > for(j=0;J<c;j++) > > printf("%d",a[i][j]; > > } > > the above prog will simply write the contents of the > > matrix A.now for transpose: > > for(i=0;i<c;i++) > > { > > for(j=0;j<r;j++) > > printf("%d",a[i][j]) > > } > > hope this code will help u....; > > The transpose of a matrix is the inverse only for > orthogonal matrices. Because the OP did not state he was > dealing with an orthogonal matrix, that may not work. > > http://en.wikipedia.org/wiki/Orthogonal_matrix > > > > > sau1983in <[EMAIL PROTECTED]> wrote: > > Hi > > > > Can any one guide me the appoach fpr finding out the > > inverse of a > > matrix in C. I am just new to the C > > > > any help is appreciated. > > > > regards > > SAurabh > > > > > > > > > > > > > > --------------------------------- > > Everyone is raving about the all-new Yahoo! Mail beta. > > _________________ > Joseph A. Marrero > http://www.l33tprogrammer.com/ > > __________________________________________________________ > The fish are biting. > Get more visitors on your site using Yahoo! Search > Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com _________________ Joseph A. Marrero http://www.l33tprogrammer.com/ ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/
