|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
#include <cmath>#include <cstddef>#include <limits>#include <mtl/concepts/magnitude.hpp>#include <mtl/functor/scalar/real.hpp>#include <mtl/functor/scalar/imag.hpp>Namespaces | |
| namespace | mtl |
| namespace | mtl::detail |
| mat*vec multiply into pre-allocated y: y = A * x. | |
Functions | |
| template<typename T> | |
| constexpr magnitude_t< T > | mtl::detail::cabs1 (const T &z) |
| LAPACK's CABS1: |Re z| + |Im z|. | |
| template<typename Mag> requires std::numeric_limits<Mag>::is_specialized | |
| constexpr Mag | mtl::detail::structure_tol (std::size_t n, Mag scale) |
| Threshold separating "this matrix has this structure" from "rounding noise", scaled by the size of the problem and the magnitude of the data. | |