19 static_assert(std::is_floating_point<T>(),
"Vector elements have to be floating point numbers.");
86 return _re < rhs._re || ( _re == rhs._re && _im < rhs._im );
91 return _re == rhs._re && _im == rhs._im ;
96 return !( *
this < rhs || *
this== rhs ) ;
130 #include "komplex.tcc"
bool operator<(const Komplex< T > &rhs) const
bool operator==(const Komplex< T > &rhs) const
Komplex< T > & operator+=(const Komplex< T > &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)
std::ostream & operator<<(std::ostream &s, const Komplex< T > &rhs)
T abs(const Komplex< T > &rhs)