Complex.Sqrt(Complex) 方法

定义

返回指定复数的平方根。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

参数

value
Complex

一个复数。A complex number.

返回

Complex

value 的平方根。The square root of value.

注解

value使用以下公式计算复数的平方根:The square root of the complex number value is calculated by using the following formula:

Complex.FromPolarCoordinates) ( (Math.Sqrt valueMagnitude value Phase/2.0) Complex.FromPolarCoordinates(Math.Sqrt(value.Magnitude), value.Phase/2.0)

Sqrt复数的方法与实数的方法相对应 Math.SqrtThe Sqrt method for complex numbers corresponds to the Math.Sqrt method for real numbers.

适用于