diff options
author | jschauma <jschauma@pkgsrc.org> | 2002-10-16 15:40:33 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2002-10-16 15:40:33 +0000 |
commit | c74a2992912c7d36c6f189b8ed196a6ed9bf6c64 (patch) | |
tree | 9e67fb4594693b25f53e87278902596fff9cfadc /math/newmat/Makefile | |
parent | 53f2ac42463ef330fd4d98f8dab8e61b6f4e4727 (diff) | |
download | pkgsrc-c74a2992912c7d36c6f189b8ed196a6ed9bf6c64.tar.gz |
Initial import of math/newmat into pkgsrc:
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.
Diffstat (limited to 'math/newmat/Makefile')
-rw-r--r-- | math/newmat/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/math/newmat/Makefile b/math/newmat/Makefile new file mode 100644 index 00000000000..89c887d0e1d --- /dev/null +++ b/math/newmat/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/16 15:40:33 jschauma Exp $ +# + +DISTNAME= newmat10 +PKGNAME= ${DISTNAME:C/([0-9]+)$/-\1/} +CATEGORIES= math devel +MASTER_SITES= http://www.robertnz.net/ftp/ + +MAINTAINER= jschauma@netbsd.org +HOMEPAGE= http://www.robertnz.net/ol_doc.htm +COMMENT= Newmat C++ Matrix Library + +WRKSRC= ${WRKDIR} +MAKEFILE= nm_cc.mak +ALL_TARGET= garch + +HEADERS= boolean.h controlw.h include.h myexcept.h newmat.h \ + newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h + +DOCDIR= ${PREFIX}/share/doc/html/newmat + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/include/newmat +.for header in ${HEADERS} + ${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include/newmat +.endfor + ${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${PREFIX}/lib + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/nm10.htm ${DOCDIR}/index.html + +.include "../../mk/bsd.pkg.mk" |