Complex.Sqrt(Complex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the square root of a specified complex number.
public:
static System::Numerics::Complex Sqrt(System::Numerics::Complex value);
public static System.Numerics.Complex Sqrt (System.Numerics.Complex value);
static member Sqrt : System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Sqrt (value As Complex) As Complex
Parameters
- value
- Complex
A complex number.
Returns
The square root of value
.
Remarks
The square root of the complex number value
is calculated by using the following formula:
Complex.FromPolarCoordinates(Math.Sqrt(value.Magnitude), value.Phase/2.0)
The Sqrt method for complex numbers corresponds to the Math.Sqrt method for real numbers.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.