16 #ifndef OPENKALMAN_VALUES_NOT_COMPLEX_HPP 17 #define OPENKALMAN_VALUES_NOT_COMPLEX_HPP 30 constexpr
bool imaginary_part_is_zero()
32 if constexpr (values::fixed<T>)
48 constexpr
bool not_complex =
50 value<T> and (not complex<T> or detail::imaginary_part_is_zero<std::decay_t<T>>());
Definition for values::to_value_type.
decltype(auto) constexpr to_value_type(Arg &&arg)
Convert, if necessary, a fixed or dynamic value to its underlying base type.
Definition: to_value_type.hpp:28
constexpr bool not_complex
T is a value in which either its type is not complex or its imaginary component is 0...
Definition: not_complex.hpp:48
constexpr auto imag(const Arg &arg)
A constexpr function to obtain the imaginary part of a (complex) number.
Definition: imag.hpp:40
Definition for values::imag.
Definition for values::abs.
Definition: fixed-constants.hpp:23
Basic definitions for OpenKalman as a whole.
Definition for values::complex.
Definition for values::value.