ComplexMathSqrt Method

Computes the square root of a complex number.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Complex Sqrt(
	Complex z
)

Parameters

z  Complex
The argument.

Return Value

Complex
The square root of the argument.

Remarks

The image below shows the complex square root function near the origin, using domain coloring.

You can see the branch cut extending along the negative real axis from the zero at the origin.

See Also