home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / tsmatr12.zip / TSMATR.NWS < prev    next >
Text File  |  1996-03-15  |  4KB  |  72 lines

  1. News on the TSMATR matrix package by Timo Salmi in reverse order
  2. ================================================================
  3.  
  4. University of Vaasa, Finland, Linux Pentium garbo.uwasa.fi has a
  5. large collection of Shareware, Freeware and Public Domain PC
  6. programs available by anonymous FTP, WWW (World Wide Web) and mail
  7. server. The file ftp://garbo.uwasa.fi/pc/ts/0news-ts contains news
  8. about the TS-programs in the /pc/ts directory (in reverse order).
  9. This text, which you now have, is an extract from the 0news-ts file
  10. and the Usenet news.
  11.  
  12. ....................................................................
  13. Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
  14. Moderating at ftp:// & http://garbo.uwasa.fi archives  193.166.120.5
  15. Department of Accounting and Business Finance  ; University of Vaasa
  16. ts@uwasa.fi http://uwasa.fi/~ts BBS 961-3170972; FIN-65101,  Finland
  17. ....................................................................
  18.  
  19. Fri 15-Mar-96: I have made an update of one of my old mathematical
  20. packages now to be
  21.  ftp://garbo.uwasa.fi/pc/ts/tsmatr12.zip
  22.  Standard matrix calculations. Product, inverse, etc.
  23. The programs are functionally unchanged, but I have brought the
  24. information material in the package up to date. I have also added
  25. the standard FILE_ID.DIZ identification file into the package. As
  26. you probably know, many BBS systems display the contents of these
  27. comment files on their file lists.
  28.    Corrected a small bug in MATMUL matrix multiplication. The
  29. program now asks for confirmation if break is pressed. Another small
  30. correction is that the MATMUL program takes up less memory than
  31. before.
  32.  
  33. Sat 24-Mar-90: I have updated the set of my matrix calculation
  34. programs. The new release is (/pc/ts/)tsmatr11.arc. This package
  35. contains the matrix operations, which are solving simultaneous
  36. linear equations (lineq.exe), calculating the inverse of a square
  37. matrix (matinv.exe), and multiplying two matrixes (matmul.exe). The
  38. maximum number of the simultaneous equations is 30, and the maximum
  39. dimension in the matrix inversion program is 25x25. There must be
  40. innumerable such programs around, and the algorithms used have
  41. nothing much out of the ordinary. They are based on the Turbo Pascal
  42. Numerical Toolbox, which has been used in accordance with Borland's
  43. license.
  44.    There is one trick of mine, however, in these programs, which is
  45. often lacking even in commercial packages. This is checking the
  46. feasibility of the results. What I do is calculate a deviation
  47. measure as follows. Let A denote the original square matrix, B the
  48. inverse computed by the program, I and identity matrix. First the
  49. matrix A*B-I is calculated, and then the sum of the absolute values
  50. of the elements of this matrix. This is what I call the deviation
  51. from unity. I have found this to be a very handy test of reliability
  52. of the results especially in case of problematic matrixes.
  53.    Nevertheless, the main feature of this package is my user
  54. interface (in programming terms the parser I've built). The
  55. simultaneous equations are given in what is called an "as-is" or
  56. "equations" format. This means that you can input e.g.
  57.      2x + 7.8y + 5.0z = 13.4
  58.      3x - 8.9y -    z = 18.3
  59.      -x + 5.6  - 1.3  = 10.3
  60. directly to the lineq.exe program, from file or from keyboard. If
  61. you give the input from the keyboard you now have full line editing
  62. potential with CursorRight, CursorLeft, BackSpace, Del, Home, End,
  63. Insert, and Escape keys. Furthermore, there is input recall (using
  64. the PageUp key), and orderly break at any time with the ctrl-C or
  65. the break key. I have also corrected a bug in lineq.exe, which
  66. prevented using the continuation line potential. This potential
  67. means that you can write e.g.
  68.      2x + 7.8y &
  69.      + 5.0z = 13.4
  70. Also updated the directory routine, which can be invoked from within
  71. lineq.exe if the input file is not found.
  72.