Complex.Sqrt Method

Returns the square root of a specified complex number.

Namespace:  System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public static Complex Sqrt(
	Complex value
)

Parameters

value
Type: System.Numerics.Complex
A complex number.

Return Value

Type: System.Numerics.Complex
The square root of value.

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.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: