home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / math / 18004 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.5 KB  |  44 lines

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