diff options
author | asau <asau@pkgsrc.org> | 2010-08-11 20:06:25 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-08-11 20:06:25 +0000 |
commit | fde26417904700fe76fabb7d9c3fe7edfff3a060 (patch) | |
tree | dea395f7c7d7148471555738cbfe089b591a1978 /math/newmat | |
parent | 47bd10842b7ab48583f1b56a72482fba58bb29c4 (diff) | |
download | pkgsrc-fde26417904700fe76fabb7d9c3fe7edfff3a060.tar.gz |
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.
Diffstat (limited to 'math/newmat')
-rw-r--r-- | math/newmat/Makefile | 19 | ||||
-rw-r--r-- | math/newmat/PLIST | 8 | ||||
-rw-r--r-- | math/newmat/distinfo | 8 |
3 files changed, 16 insertions, 19 deletions
diff --git a/math/newmat/Makefile b/math/newmat/Makefile index 99b274175f7..f92cc919640 100644 --- a/math/newmat/Makefile +++ b/math/newmat/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2009/03/17 21:40:46 darcy Exp $ +# $NetBSD: Makefile,v 1.14 2010/08/11 20:06:25 asau Exp $ # -DISTNAME= newmat10 # actually newmat10B, but no such distfile +DISTNAME= newmat11 PKGNAME= ${DISTNAME:C/([0-9]+)$/-\1/} -PKGREVISION= 1 CATEGORIES= math devel MASTER_SITES= http://www.robertnz.net/ftp/ @@ -14,25 +13,21 @@ COMMENT= Newmat C++ Matrix Library PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} -DIST_SUBDIR= newmat10B MAKE_FILE= nm_cc.mak BUILD_TARGET= garch USE_LANGUAGES= c++ -HEADERS= boolean.h controlw.h include.h myexcept.h newmat.h \ - newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h +HEADERS= controlw.h include.h myexcept.h newmat.h \ + newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h \ + solution.h tmt.h newmatrm.h -DOCDIR= ${PREFIX}/share/doc/html/newmat - -INSTALLATION_DIRS= lib +INSTALLATION_DIRS= lib include/newmat share/doc/newmat do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/newmat .for header in ${HEADERS} ${INSTALL_DATA} ${WRKSRC}/${header} ${DESTDIR}${PREFIX}/include/newmat .endfor ${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${DESTDIR}${PREFIX}/lib - ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/nm10.htm ${DESTDIR}${DOCDIR}/index.html + ${INSTALL_DATA} ${WRKSRC}/nm11.htm ${DESTDIR}${PREFIX}/share/doc/newmat/index.html .include "../../mk/bsd.pkg.mk" diff --git a/math/newmat/PLIST b/math/newmat/PLIST index ceeee7589e9..adda018ee3b 100644 --- a/math/newmat/PLIST +++ b/math/newmat/PLIST @@ -1,5 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 20:47:52 joerg Exp $ -include/newmat/boolean.h +@comment $NetBSD: PLIST,v 1.4 2010/08/11 20:06:25 asau Exp $ include/newmat/controlw.h include/newmat/include.h include/newmat/myexcept.h @@ -8,6 +7,9 @@ include/newmat/newmatap.h include/newmat/newmatio.h include/newmat/newmatnl.h include/newmat/newmatrc.h +include/newmat/newmatrm.h include/newmat/precisio.h +include/newmat/solution.h +include/newmat/tmt.h lib/libnewmat.a -share/doc/html/newmat/index.html +share/doc/newmat/index.html diff --git a/math/newmat/distinfo b/math/newmat/distinfo index 01309056d62..4dc0483dc85 100644 --- a/math/newmat/distinfo +++ b/math/newmat/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/04/16 02:12:48 wiz Exp $ +$NetBSD: distinfo,v 1.5 2010/08/11 20:06:25 asau Exp $ -SHA1 (newmat10B/newmat10.tar.gz) = a80babb555b9d105026ac74a73c77a72df04ff46 -RMD160 (newmat10B/newmat10.tar.gz) = fdcab03b5be8b7d771d9d375184f9430cffec611 -Size (newmat10B/newmat10.tar.gz) = 204619 bytes +SHA1 (newmat11.tar.gz) = 6416aee99873eeda7700a6d1061bda96928068e1 +RMD160 (newmat11.tar.gz) = f391ba5e97edfbf1394e8626a47416cff6cf5902 +Size (newmat11.tar.gz) = 247137 bytes SHA1 (patch-aa) = 6b8a51ad193d68defef00aa817ca2d9e9b3505cd |