|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Concept: a type has a well-defined magnitude. More...
#include <magnitude.hpp>
Concept: a type has a well-defined magnitude.
An unsigned type is its own magnitude: std::abs is ill-formed for unsigned types that do not promote to int, so the abs functor returns them unchanged, and the concept agrees.