home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / sci / math / numanal / 3952 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  2.6 KB

  1. Xref: sparky sci.math.num-analysis:3952 comp.lang.c++:19822
  2. Newsgroups: sci.math.num-analysis,comp.lang.c++
  3. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!kauri.vuw.ac.nz!robertd
  4. From: robertd@kauri.vuw.ac.nz (Robert Davies)
  5. Subject: newmat07: a matrix package in C++
  6. Nntp-Posting-Host: kauri.vuw.ac.nz
  7. Message-ID: <C1CqJB.G7F@comp.vuw.ac.nz>
  8. Organization: Victoria University of Wellington
  9. Sender: news@comp.vuw.ac.nz (News Admin)
  10. Date: Sun, 24 Jan 1993 09:33:10 GMT
  11. Lines: 53
  12.  
  13. Newmat07
  14.  
  15. I have released a new version of my matrix package in C++. This version
  16. is called newmat07. This is largely a "maintenance" upgrade from
  17. newmat06. You should upgrade.
  18.  
  19. There are some comments on its use with Gnu g++ at the end of this note.
  20.  
  21. The package supports classes Matrix, UpperTriangularMatrix,
  22. LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrix,
  23. UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, RowVector,
  24. ColumnVector.
  25.  
  26. Only one element type (float or double) is supported.
  27.  
  28. The package includes the operations *, +, -, inverse, transpose,
  29. conversion between types, submatrix, determinant, Cholesky
  30. decomposition, Householder triangularisation, singular value
  31. decomposition, symmetric eigenvalue analysis, fast Fourier transform,
  32. sort, print, an interface to "Numerical Recipes in C" programs, and an
  33. emulation of exceptions.
  34.  
  35. It is suitable for matrices in the size range 15 by 15 up to the maximum
  36. size that can conveniently be stored in a single block of memory. It can
  37. be used with smaller matrices, but becomes less efficient.
  38.  
  39. The package works with AT&T C++ (versions 2.1 and 3), Gnu G++ (version
  40. 2.2), Borland C++ (version 3.1), Microsoft C++ (7.0), and mostly with
  41. Zortech (version 3.04).
  42.  
  43. It is available on Simtel20 (192.88.110.20) in the pd1:<msdos.cplusplus>
  44. directory in .zip format, and on the archives of comp.sources.misc,
  45. volume 34 issues 107 to 114 (shar format). Look for it on
  46. wuarchive.wustl.edu (128.252.135.4). It is also on Compuserve in the
  47. Borland forum.
  48.  
  49.  
  50. The package works under Gnu G++, version 2.2.2. There are a couple of
  51. problems under the 2.3.x series.
  52.  
  53. There is an inline function Rectangular defined as part of class
  54. MatrixType in file newmat.h. Gnu 2.3.x is unable to compile this inline.
  55. This leads to an erroneous compilation in 2.3.1 and 2.3.2 and lots of
  56. warning messages in 2.3.3. The solution is to move the body of the
  57. function to one of the cxx files.
  58.  
  59. The ReturnMatrix code does not work with versions 2.3.1 and 2.3.2. As a
  60. result Cholesky also does not work. There is a work-around, but I would
  61. really encourage you to upgrade to 2.3.3.
  62.  
  63.  
  64. Robert   (robertd@kauri.vuw.ac.nz)
  65.  
  66.