Template Numerical Toolkit
Appearance
The Template Numerical Toolkit (or TNT) is a software library for manipulating vectors and matrices in C++ created by NIST. TNT provides the fundamental linear algebra operations (for example, matrix multiplication). TNT is analogous to the BLAS library used by LAPACK. Higher level algorithms, such as LU decomposition and singular value decomposition, are provided by the JAMA/C++ library, also developed at NIST, which uses TNT.
The major features of TNT are:
- All classes are template classes, and, therefore, work with float, double, or other user-defined number types.
- Matrices can be stored in row-major order or column-major order for Fortran compatibility.
- The library is simply a collection of header files, and so, does not need to be independently complied.
- Some support for sparse matrix storage is provided.
- The source code is in the public domain.