reciprocal method

Complex reciprocal()

Returns the multiplicative inverse of this complex value.

Implementation

Complex reciprocal() {
  final d = 1.0 / norm();
  return Complex(a * d, b * -d);
}