home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!newsserver.jvnc.net!newsserver.technet.sg!nuscc!nusunix3.nus.sg!eng10524
- From: eng10524@nusunix1.nus.sg (RAMASWAMI VISHWANATH)
- Subject: simultaneous equations...solutions
- Message-ID: <1993Jan11.234611.23381@nuscc.nus.sg>
- Sender: usenet@nuscc.nus.sg
- Organization: National University of Singapore
- X-Newsreader: TIN [version 1.1 PL6]
- Date: Mon, 11 Jan 1993 23:46:11 GMT
- Lines: 32
-
- [ Article crossposted from comp.lang.fortran ]
- [ Author was RAMASWAMI VISHWANATH ]
- [ Posted on Sun, 10 Jan 1993 19:19:52 GMT ]
-
-
-
- Dear nettors ,
- writing a program for a fortran77 project , i have run into a
- bad spot . the prg requires a matrix subroutine to calculate values for
- a set of equations . but the equations are not in a square matrix form .
- most books i have referred to give solutions to n x n matrices only .
- this prg of mine ,( to calcualte deflections of beams under different
- loading conditions) uses finite differentiaiton to get a set of
- equations . thus the equations are of the form
- k = x + y + z
-
- and so on giving me a n x 3 matrix .
- however i justrealised that this is a tri-diagonal matrix
- since the equations are derived from finite differentiation .
- thus the matrix looks like :
- 0 -2 1 0 .....
- 0 1 -2 1 0 ...
- 0 0 1 -2 1 0 ....
-
- since gaussian ,i believe is nottheleast cumbersome way to go about this
- could someone suggest a good method ? are there any ideas for a fortran
- prog. or sub-routine ?
-
-
- thanx
-
- Vishwa
-