MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
matrix.hpp File Reference
#include <mtl/concepts/collection.hpp>
#include <mtl/concepts/scalar.hpp>
#include <mtl/traits/category.hpp>
#include <mtl/tag/sparsity.hpp>
#include <cstddef>
#include <type_traits>

Namespaces

namespace  mtl

Concepts

concept  mtl::Matrix
 A 2D collection with num_rows(), num_cols(), and (r,c) access.
concept  mtl::FieldMatrix
 A matrix whose elements form a FIELD – the requirement of every algorithm that divides by a matrix element: LU, QR, LQ, Cholesky, LDL^T, SVD, eigen, inverse.
concept  mtl::DenseMatrix
 A dense matrix: category tag is tag::dense.
concept  mtl::SparseMatrix
 A sparse matrix: category tag is tag::sparse.