sqrt1z method

  1. @override
Cartesian sqrt1z()
override

Compute the square root of 1 - this^2 for this complex number.

Computes the result directly as sqrt(ONE - (z * z)).

Returns nan if either real or imaginary part of the input argument is NaN.

Infinite values in real or imaginary parts of the input may result in infinite or NaN values returned in parts of the result.

Implementation

@override
Cartesian sqrt1z() {
  final a = (Complex.one - (this * this)).sqrt();
  return a;
}