head 1.4; access; symbols pkgsrc-2023Q4:1.4.0.108 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.106 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.104 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.102 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.100 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.98 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.96 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.94 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.92 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.90 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.88 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.86 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.84 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.82 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.78 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.58 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.80 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.76 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.74 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.72 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.70 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.68 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.66 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.64 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.62 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.60 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.56 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.54 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.52 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.50 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.48 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.46 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.44 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.42 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.40 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.38 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.36 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.34 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.32 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.30 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.28 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.26 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.24 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.22 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.20 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.18 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.16 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.14 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.12 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.10 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.8 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.6 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.4 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.1.1.1.0.50 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.48 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.46 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.44 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.42 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.40 pkgsrc-2008Q1:1.1.1.1.0.38 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.36 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.34 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.32 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.30 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.28 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.26 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.24 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.22 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.20 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.18 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.16 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.14 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.12 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.10 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.8 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.6 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2010.08.11.20.06.25; author asau; state Exp; branches; next 1.3; 1.3 date 2009.06.14.20.47.52; author joerg; state Exp; branches; next 1.2; 1.2 date 2009.06.14.18.05.46; author joerg; state Exp; branches; next 1.1; 1.1 date 2002.10.16.15.40.33; author jschauma; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.16.15.40.33; author jschauma; state Exp; branches; next ; desc @@ 1.4 log @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. @ text @@@comment $NetBSD$ include/newmat/controlw.h include/newmat/include.h include/newmat/myexcept.h include/newmat/newmat.h 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/newmat/index.html @ 1.3 log @Convert @@exec/@@unexec to @@pkgdir or drop it. @ text @d1 1 a1 2 @@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:05:46 joerg Exp $ include/newmat/boolean.h d10 1 d12 2 d15 1 a15 1 share/doc/html/newmat/index.html @ 1.2 log @Remove @@dirrm entries from PLISTs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/16 15:40:33 jschauma Exp $ a13 2 @@unexec ${RMDIR} share/doc/html 2>/dev/null || ${TRUE} @@unexec ${RMDIR} share/doc 2>/dev/null || ${TRUE} @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD$ a13 1 @@dirrm share/doc/html/newmat a15 1 @@dirrm include/newmat @ 1.1.1.1 log @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. @ text @@