|
NumericAL
A header-only C++20 lexer built on REAL
|
A floating-point field: float, double, long double, or std::complex of one. The factorisations and the solvers require it, so that an integer matrix is refused at compile time, by name, where it would otherwise be factorised in integer division.
More...
#include <concepts.hpp>
A floating-point field: float, double, long double, or std::complex of one. The factorisations and the solvers require it, so that an integer matrix is refused at compile time, by name, where it would otherwise be factorised in integer division.
What each carries in its own precision: LU, Cholesky and the unpivoted QR compute in T itself, a long double to its own precision. The SVD takes any field and computes in double: its singular values are double, and a long double matrix's factors hold a double's precision. The eigendecompositions, the Schur form, the pivoted QR and LDLá´´ take double_field alone; the symmetric and Hermitian eigensolvers and the generalized forms are of double and std::complex<double> by their signatures.
Definition at line 28 of file concepts.hpp.