Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!news.uu.net!convex!usenet From: dodson@convex.COM (Dave Dodson) Newsgroups: comp.sources.wanted Subject: Re: C matrix inverter wanted Keywords: C linear algebra Message-ID: <1991May22.171625.15305@convex.com> Date: 22 May 91 17:16:25 GMT References: Sender: usenet@convex.com (news access account) Reply-To: dodson@convex.COM (Dave Dodson) Organization: CONVEX Computer Corporation, Richardson, Tx., USA Lines: 19 Nntp-Posting-Host: mozart.convex.com In article dc@cs.qmw.ac.uk (Daniel Cohen) writes: >A friend of mine without net access has asked me to post this >request for C code to invert matrices. He has not fixed on any >particular format for matrices so this is not a factor. > >Please email your code to me ( unless it's megabytes! ) I suggest you use Numerical Recipes in C. HOWEVER, IT IS ALMOST NEVER NECESSARY OR DESIRABLE TO INVERT A MATRIX. There are very few instances where you actually need the elements of the inverse. For example, you wouldn't solve the equation 3*x = 6 by computing 3^(-1) = 0.333... and then multiplying by 6. Why solve linear equations that way? Write back if you have more questions. ---------------------------------------------------------------------- Dave Dodson dodson@convex.COM Convex Computer Corporation Richardson, Texas (214) 497-4234