Returns the natural logarithm of a DoubleComplex number.

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

Syntax

Visual Basic (Declaration)
Public Shared Function Log ( _
	z As DoubleComplex _
) As DoubleComplex
C#
public static DoubleComplex Log (
	DoubleComplex z
)
C++
public:
static DoubleComplex Log (
	DoubleComplex z
)

Parameters

z (Extreme.Mathematics.DoubleComplex)
A DoubleComplex number.

Return Value

The natural logarithm of a.

Remarks

The real component of the logarithm of a complex number is equal to the logarithm of its Modulus. The imaginary component of the logarithm of a complex number is equal to the Argument of the complex number. As a result, the imaginary component is only defined up to a multiple of two times Pi. The imaginary component returned by Log(DoubleComplex) always lies between -Pi and Pi.

This method extends the Log(Double) method of the Math class to complex numbers.

See Also