operator * method

Complex operator *(
  1. Complex other
)

Implementation

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