norm method

double norm()

Computes the squared magnitude of the complex number.

Implementation

double norm() => _real * _real + _imag * _imag;