Updating from previous versions
next -
skip -
up -
start
Newmat10 includes new maxima, minima and Determinant functions,
a faster FFT,
revised make files for
GCC and CC compilers and several corrections,
new ReSize function.
The program files include a new file, newfft.cpp, so you will need to
include this in the list of files in your IDE and make files.
If you are updating from a
beta version of newmat09 look through the next section as there were some
late changes to newmat09.
If you are upgrading from newmat08 note the following:
- Boolean, TRUE, FALSE are now bool, true, false. See
customising if your compiler supports the bool
class.
- ReDimension is now ReSize.
- The simulated exception package has been updated.
- Operators ==, !=, +=, -=, *=,
|=, &= are
now supported
as binary matrix operators.
- A+=f, A-=f, A*=f, A/=f, f+A,
f-A, f*A are supported for
A matrix, f scalar.
- Fast trigonometric transforms.
- Reverse function for reversing order
of elements in a vector or matrix.
- IsSingular function.
- An option is included for defining namespaces.
- Dummy inequality operators are defined for compatibiity with the STL.
- The row/column classes in newmat3.cpp have been modified to improve
efficiency and correct an invalid use of pointer arithmetic. Most users
won't be using these classes explicitly; if you are, please contact me
for details of the changes.
- Matrix LU decomposition rewritten (faster for large arrays).
- The sort function rewritten (faster).
- The documentation files newmata.txt and newmatb.txt have been amalgamated
and both are included in the hypertext version.
- Some of the make files reorganised again.
If you are upgrading from newmat07 note the following:
- .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.
next -
skip -
up -
start