akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
Loading...
Searching...
No Matches
linalg::Scalar Concept Reference

Type registered with the Akreon Linalg scalar trait system. More...

#include <scalar_concepts.hpp>

Concept definition

template<typename T>
concept linalg::Scalar = requires {
typename scalar_traits_t<T>::scalar_type;
typename scalar_traits_t<T>::real_type;
}
Type registered with the Akreon Linalg scalar trait system.

Detailed Description

Type registered with the Akreon Linalg scalar trait system.

Satisfaction requires scalar_traits<remove_cvref_t<T>> to expose both the normalized scalar representation and its associated real component type. Scalar is a metadata classification only; it does not itself require arithmetic operations.

Definition at line 23 of file scalar_concepts.hpp.