MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::FieldMatrix Concept Reference

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. More...

#include <matrix.hpp>

Concept definition

template<typename T>
A matrix whose elements form a FIELD – the requirement of every algorithm that divides by a matrix el...
Definition matrix.hpp:26
A type that forms a mathematical field: division is defined AND invertible.
Definition scalar.hpp:48
A 2D collection with num_rows(), num_cols(), and (r,c) access.
Definition matrix.hpp:14

Detailed Description

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.

Integral element types are excluded by Field (see concepts/scalar); on them the division truncates and the factorization returns confident nonsense rather than failing.