Returns the first square root of a DoubleComplex number.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Sqrt ( _ z As DoubleComplex _ ) As DoubleComplex |
| C# |
|---|
public static DoubleComplex Sqrt ( DoubleComplex z ) |
| C++ |
|---|
public: static DoubleComplex Sqrt ( DoubleComplex z ) |
Parameters
- z (Extreme.Mathematics.DoubleComplex)
- A DoubleComplex number
Return Value
The square root of z that is either real and positive, or has a positive imaginary part.
Remarks
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.
This method extends the Sqrt(Double) method of the Math class to complex numbers.