Returns the square root of a Complex, with a branch cut along
the negative real axis.
Namespace:
Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static Complex Sqrt( Complex z ) |
Visual Basic (Declaration) |
---|
Public Shared Function Sqrt ( _ z As Complex _ ) As Complex |
Visual C++ |
---|
public: static Complex Sqrt( Complex z ) |
Parameters
- z
- Type: Imsl.Math..::.Complex
A Complex object.
Return Value
A newly constructed Complex initialized to square root of z.Remarks
Specifically, if z = x+iy,
.
returns .
returns , for finite positive-signed y.
returns , for finite positive-signed y.
returns , for all x (including NaN).
returns (where the sign of the imaginary part of the result is unspecified).
returns .
returns and optionally raises the invalid exception, for finite x.
returns and optionally raises the invalid exception, for finite y.
returns .