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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om