Returns the first square root of a complex number.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Complex<T> Sqrt(
Complex<T> z
)
Public Shared Function Sqrt (
z As Complex(Of T)
) As Complex(Of T)
public:
static Complex<T> Sqrt(
Complex<T> z
)
static member Sqrt :
z : Complex<'T> -> Complex<'T>
Parameters
- z
- Type: Extreme.MathematicsComplexT
A complex number
Return Value
Type:
ComplexTThe square root of
z
that is either real and positive, or has a positive
imaginary part.
The square root of a complex number is not
uniquely defined. If x is a square root of
z, then -x is also a square
root of z. This method returns the
square root in the left half of the complex plane.
Numerical Libraries
Supported in: 6.0, 5.x
Reference