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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.