Updating form previous versions
next -
skip -
up -
start
This is a minor upgrade on newmat07 to correct errors (one serious) and
improve compatibility with various compilers. You should upgrade.
- .cxx files are now .cpp files. Some versions of won't accept .cpp. The
make
files for Gnu and AT&T link the .cpp files to .cxx files before
compilation and delete the links after compilation.
- An option
in include.h allows you to use
compiler supported exceptions,
simulated exceptions or disable exceptions.
Edit the file include.h to select one of these three options.
Don't simulate exceptions if you have set your compiler's
option to implement exceptions.
- New QR decomposition
functions.
- A non-linear least squares class.
- No need to explicitly set the AT&T option in include.h.
- Concatenation and elementwise multiplication.
- A new GenericMatrix class.
- Sum function.
- Some of the make files reorganised.
If you are upgrading from newmat06 note the following:
- If you are using << to load a Real into a submatrix change this to =.
If you are upgrading from newmat03 or newmat04
note the following
- .hxx files are now .h files
- real changed to Real
- BOOL changed to Boolean
- CopyToMatrix changed to AsMatrix, etc
- real(A) changed to A.AsScalar()
The current version is quite a bit longer that newmat04, so if you are
almost out of space with newmat04, don't throw newmat04 away until you
have checked your program will work under this version.
See the change history for other changes.