This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

NewMat C++ Matrix Class

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Robert Davies

Additional information is available for the following registered author(s):

Abstract

Newmat 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), nricMatrix (variant of rectangular matrix as an interface to "Numerical Recipes"), UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrixi, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, RowVector, ColumnVector. The package includes the operations *, +, -, inverse, transpose, conversion between types, submatrix, determinant, Cholesky decomposition, Householder triangularisation, singular value decomposition, eigenvalues of a symmetric matrix, sorting, fast fourier transform, printing and an interface with "Numerical Recipes in C". It is intended for matrices in the range 15 x 15 to the maximum size your machine will accomodate in a single array. For example 90 x 90 (125 x 125 for triangular matrices) in machines that have 8192 doubles as the maximum size of an array. The number of elements in an array cannot exceed the maximum size of an "int". The package will work for very small matrices but becomes rather inefficient. A two-stage approach to evaluating matrix expressions is used to improve efficiency and reduce use of temporary storage. The file newmatnl.tar.gz contains an extension to the nonlinear optimisation class for maximum likelihood estimation, an example is included where a GARCH(1,1) regression model is estimated. newran.tar.gz contains a class for generating pseudo-random numbers from different distributions. It is required by the GARCH example. Version 09 was released in October 1997.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://www.robertnz.net/ftp/newmat10.tar.gz
File Format:
File Function: Source code for NewMat10
Download Restriction: no
File URL: http://www.robertnz.net/ftp/newmat10.tar.gz
File Format:
File Function: Source code for NewMat10
Download Restriction: no

Publisher Info
Software component provided by in its series C/C++ codes with number newmat.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: C++
Requires: The package is designed for version 2 or 3 of C++. It works with Borland (3.1 & ,4.0) and Microsoft (7 & 8) and Watcom (10) C++ on a PC and AT&T C++ (2.1 & 3) and Gnu C++ (2.3.3 & 2.5.8). It works with some problems with Zortech C++ (version 3.04)
Date of creation:
Date of revision:
Handle: RePEc:cod:ccplus:newmat

Contact details of provider:

For technical questions regarding this item, or to correct its listing, contact: (Thomas Krichel).

Related research
Keywords:

Statistics
Access and download statistics

Did you know? RePEc also has a blog.

This page was last updated on 2008-12-17.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.