Returns the natural logarithm of a complex number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Complex<T> Log(
Complex<T> z
)
Public Shared Function Log (
z As Complex(Of T)
) As Complex(Of T)
public:
static Complex<T> Log(
Complex<T> z
)
static member Log :
z : Complex<'T> -> Complex<'T>
Parameters
- z
- Type: Extreme.MathematicsComplexT
A complex number.
Return Value
Type:
ComplexTThe natural logarithm of
z.
The real element of the logarithm of a
complex number is equal to the logarithm of its
Magnitude. The imaginary element of the
logarithm of a complex number is equal to the
Phase of the complex number. As a
result, the imaginary element is only defined up
to a multiple of two times Pi.
The imaginary element returned by Log(ComplexT) always
lies between -Pi and
Pi.
This method requires that the operand type supports real arithmetic.
Reference