Returns the first square root of a real number.

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Sqrt ( _
	a As Double _
) As DoubleComplex
C#
public static DoubleComplex Sqrt (
	double a
)
C++
public:
static DoubleComplex Sqrt (
	double a
)

Parameters

a (System.Double)
A real number

Return Value

The square root of a that is either real and positive, or imaginary with a positive imaginary part.

Remarks

This method extends the Sqrt(Double) method of the Math class to negative real numbers.

See Also