operator + method

Complex operator +(
  1. Complex other
)

Performs the sum between this complex number and other.

Implementation

Complex operator +(Complex other) =>
    Complex(_re + other._re, _im + other._im);