19 Komplex(
double re,
double im=0.0);
91 return std::sqrt(_re*_re+_im*_im);
Komplex & operator+=(const Komplex &rhs)
std::ostream & operator<<(std::ostream &s, const Komplex &rhs)
Komplex operator+(const Komplex &rhs) const
Komplex & operator=(const Komplex &rhs)
Assignment operator.