API / Math / Complex class Complex template<class Type> Complex numbers. Public Constructors Complex<Type> Complex<Type>() = default Complex<Type> Complex<Type>(const Type &r, const Type &i) Complex<Type> Complex<Type>(const Complex<Type> &other) Methods Real Type &Real() Imag Type &Imag() Real const Type &Real() const Imag const Type &Imag() const staticAbs static Type Abs(const Complex<Type> &other) staticArg static Type Arg(const Complex<Type> &other) staticNorm static Type Norm(const Complex<Type> &other) staticConj static Complex<Type> Conj(const Complex<Type> &other) staticPolar static Complex<Type> Polar(const Type &r, const Type &t = 0) staticCos static Complex<Type> Cos(const Complex<Type> &other) staticCosh static Complex<Type> Cosh(const Complex<Type> &other) staticExp static Complex<Type> Exp(const Complex<Type> &other) staticLog static Complex<Type> Log(const Complex<Type> &other) staticLog10 static Complex<Type> Log10(const Complex<Type> &other) staticPow static Complex<Type> Pow(const Complex<Type> &other, const Type &i) staticPow static Complex<Type> Pow(const Complex<Type> &x, const Complex<Type> &y) staticPow static Complex<Type> Pow(const Type &i, const Complex<Type> &other) staticSin static Complex<Type> Sin(const Complex<Type> &other) staticSinh static Complex<Type> Sinh(const Complex<Type> &other) staticSqrt static Complex<Type> Sqrt(const Complex<Type> &other) staticTan static Complex<Type> Tan(const Complex<Type> &other) staticTanh static Complex<Type> Tanh(const Complex<Type> &other) Operators operator= Complex<Type> &operator=(const Type &other) operator+= Complex<Type> &operator+=(const Type &other) operator-= Complex<Type> &operator-=(const Type &other) operator*= Complex<Type> &operator*=(const Type &other) operator/= Complex<Type> &operator/=(const Type &other) operator= Complex<Type> &operator=(const Complex<Type> &other) operator+= Complex<Type> &operator+=(const Complex<Type> &other) operator-= Complex<Type> &operator-=(const Complex<Type> &other) operator*= Complex<Type> &operator*=(const Complex<Type> &other) operator/= Complex<Type> &operator/=(const Complex<Type> &other) operator+ Complex<Type> operator+(const Type &other) const operator- Complex<Type> operator-(const Type &other) const operator* Complex<Type> operator*(const Type &other) const operator/ Complex<Type> operator/(const Type &other) const operator+ Complex<Type> operator+(const Complex<Type> &other) const operator- Complex<Type> operator-(const Complex<Type> &other) const operator* Complex<Type> operator*(const Complex<Type> &other) const operator/ Complex<Type> operator/(const Complex<Type> &other) const operator== bool operator==(const Complex<Type> &other) const operator== bool operator==(const Type &other) const operator!= bool operator!=(const Complex<Type> &other) const operator!= bool operator!=(const Type &other) const Private Fields mReal Type mReal mImag Type mImag