16 #ifndef OPENKALMAN_VALUE_NOT_COMPLEX_HPP 17 #define OPENKALMAN_VALUE_NOT_COMPLEX_HPP 29 constexpr
bool imaginary_part_is_zero()
31 if constexpr (values::fixed<T>)
47 constexpr
bool not_complex =
49 values::value<T> and (not complex<T> or detail::imaginary_part_is_zero<std::decay_t<T>>());
54 #endif //OPENKALMAN_VALUE_NOT_COMPLEX_HPP Definition for values::to_number.
constexpr auto imag(Arg arg)
A constexpr function to obtain the imaginary part of a (complex) number.
Definition: imag.hpp:40
constexpr bool not_complex
T is a values::value in which either its type is not a values::complex or its imaginary component is ...
Definition: not_complex.hpp:47
constexpr auto to_number(Arg arg)
Convert any values::value to a values::number.
Definition: to_number.hpp:34
Definition for values::imag.
Definition for values::abs.
Definition: constant_coefficient.hpp:25
Definition for ::complex.