math/newmat 11 NetBSD
Newmat C++ Matrix Library
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- math, devel
- Package size
- 201.7 KiB, 1270.3 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | math/newmat | 11 |
| FreeBSD | math/newmat | 1.1_1 |
| DragonFly | math/newmat | 1.1_1 |
| HardenedBSD | math/newmat | 1.1_1 |
| GhostBSD | math/newmat | 1.1_1 |
Install
Binary package:
pkgin install newmat
From pkgsrc:
cd /usr/pkgsrc/math/newmat && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 11 |
| NetBSD 10.1 aarch64 | 11 |
| SmartOS / illumos x86_64 | 11 |
| macOS 15 arm64 | 11 |
Dependencies
No port depends on this one.