Jump to content

Template Numerical Toolkit

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jlenthe (talk | contribs) at 05:32, 3 August 2006 (New article. Just the basic points for now.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.

Template Numerical Toolkit homepage at NIST