🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #2107

Re: matrices

#2107
From: Robert D. Silverman
Date: Tue, 27 Feb 1990 15:34
28 lines
1490 bytes
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 <std.disclaimer>
Internet: bs@linus.mitre.org; UUCP: {decvax,philabs}!linus!bs
Mitre Corporation, Bedford, MA 01730
Technical Details
Message-ID: <99150@linus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think!linus!bs
References: <1990Feb26.183024.23868@sj.ate.slb.com> <4411@helios.TAMU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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