Foo

Class that represent complex number.

Author

Rok Kos

class Complex

Public Functions

Complex(const double& = 0, const double& = 0)
Complex(const Complex &rhs)
~Complex() = default
Complex &operator=(const Complex &rhs)
double getReal() const
double getImag() const
double abs() const

Private Members

double m_Real
double m_Imaginary