sign property
Complex
sign
Returns the closest point on the unit circle.
Implementation
Complex get sign {
final absolute = abs();
return absolute > 0 ? this / absolute : Complex.zero;
}
Returns the closest point on the unit circle.
Complex get sign {
final absolute = abs();
return absolute > 0 ? this / absolute : Complex.zero;
}