16 concept
FloatDouble =
sizeof(T)>=
sizeof(
float) && std::floating_point<T>;
20 template<FloatDouble T>
89 return _re < rhs._re || ( _re == rhs._re && _im < rhs._im );
94 return _re == rhs._re && _im == rhs._im ;
99 return !( *
this < rhs || *
this== rhs ) ;
120 template <FloatDouble T>
124 template <FloatDouble T>
131 #include "komplex2.tcc"
bool operator<(const Komplex< T > &rhs) const
bool operator==(const Komplex< T > &rhs) const
Komplex< T > & operator+=(const Komplex< T > &rhs)
friend std::ostream & operator<<(std::ostream &s, const Komplex< S > &rhs)
Komplex< T > & operator=(Komplex< T > &&rhs)=default
Komplex(const Komplex< T > &org)=default
Komplex< T > operator+(const Komplex< T > &rhs) const
Komplex(Komplex< T > &&org)=default
bool operator>(const Komplex< T > &rhs) const
Komplex< T > & operator=(const Komplex< T > &rhs)=default
Komplex< T > operator+(T lhs, const Komplex< T > &rhs)
T abs(const Komplex< T > &rhs)