Template Struct Complex¶
Defined in File complex.hpp
Struct Documentation¶
-
template<typename T>
struct Complex¶ analog of std::complex<Real> for non-real numeric rings
Public Functions
-
constexpr Complex() = delete¶
-
template<typename A, typename B = A, typename = std::enable_if_t<std::is_arithmetic_v<A> && std::is_constructible_v<T, A> && std::is_arithmetic_v<B> && std::is_constructible_v<T, B>>>
inline constexpr Complex(A real, B imag = 0)¶
-
inline constexpr bool is_zero() const¶
-
inline constexpr bool is_identity() const¶
-
inline std::wstring to_latex() const¶
-
inline std::wstring to_wolfram() const¶
-
inline std::size_t hash_value() const¶
-
constexpr Complex() = delete¶