|
akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
|
Register a standard floating-point type as a real scalar. More...
#include <scalar_traits.hpp>
Public Types | |
| using | scalar_type = T |
| Normalized scalar representation. | |
| using | real_type = T |
| Associated real component type. | |
Static Public Attributes | |
| static constexpr bool | is_real = true |
| Whether the registered scalar belongs to the real category. | |
| static constexpr bool | is_complex = false |
| Whether the registered scalar belongs to the complex category. | |
Register a standard floating-point type as a real scalar.
Definition at line 41 of file scalar_traits.hpp.
| using linalg::scalar_traits< T >::real_type = T |
Associated real component type.
Definition at line 45 of file scalar_traits.hpp.
| using linalg::scalar_traits< T >::scalar_type = T |
Normalized scalar representation.
Definition at line 43 of file scalar_traits.hpp.
|
staticconstexpr |
Whether the registered scalar belongs to the complex category.
Definition at line 50 of file scalar_traits.hpp.
|
staticconstexpr |
Whether the registered scalar belongs to the real category.
Definition at line 48 of file scalar_traits.hpp.