Metraipolis › archive › dc_f8905e13f96a

Matrix Template Library — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Matrix_Template_Library
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-07T23:33:30.432Z
SHA-256 of the archived text
624ce58abcbeaa3bb75414739a3e3fa12b59ed3da2345c5677057291f7762446
Stable URL of this page
https://metraipolis.com/documento/dc_f8905e13f96a

How to cite

Matrix Template Library — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Matrix_Template_Library (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_f8905e13f96a (Metraipolis archive dc_f8905e13f96a, sha256 624ce58abcbeaa3bb75414739a3e3fa12b59ed3da2345c5677057291f7762446)
BibTeX
@misc{dcf8905e13f96a,
  title = {Matrix Template Library — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Matrix_Template_Library},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_f8905e13f96a; sha256 624ce58abcbeaa3bb75414739a3e3fa12b59ed3da2345c5677057291f7762446},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Matrix_Template_Library. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The Matrix Template Library (MTL) is a linear algebra library for C++ programs. The MTL uses template programming, which considerably reduces the code length. All matrices and vectors are available in all classical numerical formats: float, double, complex<float> or complex<double>. Furthermore, generic programming allows the usage of arbitrary types as long as they provide the necessary operations. For instance one can use arbitrary integer formats (e.g. unsigned short), types for interval arithmetic (e.g. boost::interval) from the Boost C++ Libraries, quaternions (e.g. boost::quaternion), types of higher precision (e.g. GNU Multi-Precision Library) and appropriate user-defined types. The MTL supports several implementations of dense matrices and sparse matrices. MTL2 has been developed by Jeremy Siek and Andrew Lumsdaine. The latest version, MTL4, is developed by Peter Gottschling and Andrew Lumsdaine. It contains most of MTL2's functionality and adds new optimization techniques as meta-tuning, e.g. loop unrolling of dynamically sized containers can be specified in the function call. Platform-independent performance scalability is reached by recursive data structures and algorithms. Generic applications can be written in a natural notation, e.g. v += A*q - w;, while the library dispatches to the appropriate algorithms: matrix vector products vs. matrix products vs. vector scalar products etcetera. The goal is to encapsulate performance issues inside the library and provide scientists an intuitive interface. MTL4 is used in different finite element and finite volume packages, e.g. the FEniCS Project.

Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «linear algebra»).
Fonte: Wikipedia in inglese, voce «Matrix Template Library» — https://en.wikipedia.org/wiki/Matrix_Template_Library
Wikidata Q1814281 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q1814281
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Matrix_Template_Library?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1341538681, consultata il 2026-10-07T23:12:33.830Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: a0fa8318b9306028bfec9af57426344cc869a522f4747c5b4d344efdfb87639b