abs method
Computes the magnitude (absolute value) of the complex number.
Implementation
double abs() => math.sqrt(_real * _real + _imag * _imag);
Computes the magnitude (absolute value) of the complex number.
double abs() => math.sqrt(_real * _real + _imag * _imag);