40template <std::
floating_po
int T>
50 static constexpr bool is_complex =
false;
54template <std::
floating_po
int T>
64 static constexpr bool is_complex =
true;
std::remove_cvref_t< T > remove_cvref_t
Remove top-level const, volatile, and reference qualification.
typename scalar_traits_t< T >::real_type real_type_t
Associated real component type registered for T.
constexpr bool is_real_v
Whether normalized T is registered as a real scalar.
constexpr bool is_complex_v
Whether normalized T is registered as a complex scalar.
constexpr std::size_t mat_rows_v
Registered compile-time row count after cv/ref normalization.
constexpr bool is_real(const std::complex< T > &z, real_type_t< T > tol=1e-10)
Check whether a complex value's imaginary component is below a bound.
typename scalar_traits_t< T >::scalar_type scalar_type_t
Normalized scalar representation registered for T.
T scalar_type
Normalized scalar representation.
T real_type
Associated real component type.
T real_type
Floating-point component type underlying the complex scalar.
std::complex< T > scalar_type
Normalized complex scalar representation.
Customization point for scalar metadata.