Returns the logarithm of a complex number
to the specified base.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Complex<T> Log(
Complex<T> z,
Complex<T> newBase
)
Public Shared Function Log (
z As Complex(Of T),
newBase As Complex(Of T)
) As Complex(Of T)
public:
static Complex<T> Log(
Complex<T> z,
Complex<T> newBase
)
static member Log :
z : Complex<'T> *
newBase : Complex<'T> -> Complex<'T>
Parameters
- z
- Type: Extreme.MathematicsComplexT
A complex number whose
logarithm is to be calculated. - newBase
- Type: Extreme.MathematicsComplexT
A complex that is the
base of the logarithm.
Return Value
Type:
ComplexTThe base
newBase logarithm of
z.
The base newBase logarithm of a complex
number is only defined up to a multiple of
2 Pi i / newBase. Log(ComplexT, ComplexT) returns
the logarithm with the smallest Magnitude.
This method requires that the operand type supports real arithmetic.
Reference