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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.