Returns the logarithm of a DoubleComplex number to the specified base.

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

Syntax

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

Parameters

z (Extreme.Mathematics.DoubleComplex)
A DoubleComplex number whose logarithm is to be calculated.
newBase (Extreme.Mathematics.DoubleComplex)
A DoubleComplex that is the base of the logarithm.

Return Value

The base newBase logarithm of z.

Remarks

The base newBase logarithm of a complex number is only defined up to a multiple of 2 Pi i / newBase. Log(DoubleComplex) returns the logarithm with the smallest Modulus.

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

See Also