Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think!linus!bs From: bs@linus.UUCP (Robert D. Silverman) Newsgroups: comp.theory Subject: Re: matrices Keywords: determinants Message-ID: <99150@linus.UUCP> Date: 27 Feb 90 15:34:31 GMT References: <1990Feb26.183024.23868@sj.ate.slb.com> <4411@helios.TAMU.EDU> Reply-To: bs@gauss.UUCP (Robert D. Silverman) Distribution: usa Organization: The MITRE Corporation, Bedford MA Lines: 28 In article <4411@helios.TAMU.EDU> clc8347@tamunix.tamu.edu (Cheryl Cato) writes: :I realize this is a very elementary problem, which probably :has been answered many times here -- but I'm new to the news :groups and am in desparate need of some help.... : :I need to find the determinants of a 4 x 4 (or less) :matrix - program to be written in C. The Gaussian :Elimination, I've been told, is very unreliable and :very hard to code. My ultimate goal is to solve for :loop currents in an RLC circuit. You have been grossly misinformed. Gaussian elimination is both simple and easy to code - it takes less than a page of C code. It is numerically reliable when done with partial pivoting. See the following: "Numerical Recipes", by Press, Flannery, Teukolsky, & Vettering or "Matrix Computations" by Golub and Van Loan. -- Bob Silverman #include Internet: bs@linus.mitre.org; UUCP: {decvax,philabs}!linus!bs Mitre Corporation, Bedford, MA 01730