operator - method

Complex operator -(
  1. Complex other
)

Subtracts two complex numbers.

Implementation

Complex operator -(Complex other) => Complex(
      real - other.real,
      imaginary - other.imaginary,
    );