./math/newmat, Newmat C++ Matrix Library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 11, Package name: newmat-11, Maintainer: pkgsrc-users

This C++ library is intended for scientists and engineers who need to
manipulate a variety of types of matrices using standard matrix operations.
Emphasis is on the kind of operations needed in statistical calculations such
as least squares, linear equation solve and eigenvalues.

It supports matrix types: Matrix (rectangular matrix); UpperTriangularMatrix;
LowerTriangularMatrix; DiagonalMatrix; SymmetricMatrix; BandMatrix;
UpperBandMatrix; LowerBandMatrix; SymmetricBandMatrix; IdentityMatrix;
RowVector; ColumnVector.

The library includes the operations *, +, -, *=, +=, -=, Kronecker product,
Schur product, concatenation, inverse, transpose, conversion between types,
submatrix, determinant, Cholesky decomposition, QR triangularisation, singular
value decomposition, eigenvalues of a symmetric matrix, sorting, fast Fourier
and trig. transforms, printing and an interface with Numerical Recipes in C.

It is intended for matrices in the range 10 x 10 to the maximum size your
machine will accommodate in a single array. The package works for very small
matrices but becomes rather inefficient. A lazy evaluation approach to
evaluating matrix expressions is used to improve efficiency and reduce use of
temporary storage.

Required to build:

Master sites:

SHA1: 6416aee99873eeda7700a6d1061bda96928068e1
RMD160: f391ba5e97edfbf1394e8626a47416cff6cf5902
Filesize: 241.345 KB

Version history: (Expand)

CVS history: (Expand)

   2016-12-18 00:31:36 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
Don't check pointer sign.
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2012-09-12 01:04:36 by Aleksej Saushev | Files touched by this commit (180)
Log message:
"user-destdir" is default these days
   2010-08-11 22:06:25 by Aleksej Saushev | Files touched by this commit (3) | Package updated
Log message:
Update to Newmat11
Contributed by Kamel Derouiche via PR pkg/43741

Changes in this version:

It works with Borland Builder version 6, 8;
Microsoft Visual C++ 6,7,8; Open Watcom 1.7a;
Gnu version 3, 4 and Intel for Windows & Linux compilers 9, 10.

Options and work-arounds for older compilers are being removed.

You can enter values from an integer array with statements like

  Matrix A(3,2); int a[] = { 11,12,21,22,31,33 };  A << a;

There is a new matrix type SquareMatrix. You can use this where
you know a matrix is square. The only place where the information
that a matrix is used is in the Kronecker product KP(A,B).
If A is band and B is any square matrix type (i.e. type SquareMatrix
or band, triangular, symmetric or diagonal) the result is band.
If B is type Matrix then the result is of type Matrix.
Apart from this it may be worth using the SquareMatrix type to
improve readability of a program and to make sure that a matrix
that is intended to be square really is square.

There is a new routine for carrying out cross products of
ColumnVectors or RowVectors of length 3 and new routines for
updating a triangular matrix derived from a Cholesky decomposition.

Interfacing with old C functions involving one and two
dimensional arrays is simplified.

Additional QR functions, extend_orthogonal function.

Lower-case versions of functions.

You can use the manipulators scientific and fixed in the matrix
output expressions.
   2009-06-14 22:47:53 by Joerg Sonnenberger | Files touched by this commit (10)
Log message:
Convert @exec/@unexec to @pkgdir or drop it.
   2009-06-14 20:05:51 by Joerg Sonnenberger | Files touched by this commit (88)
Log message:
Remove @dirrm entries from PLISTs
   2009-03-17 22:40:48 by D'Arcy J.M. Cain | Files touched by this commit (31)
Log message:
Correct email address for generic MAINTAINER.
   2009-01-23 22:14:18 by Jan Schaumann | Files touched by this commit (43)
Log message:
Give up maintainership, as I have not so much as looked at pkgsrc in
well over a year now.  Sorry. :-(