Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Complex::Log Method (Complex)

 

Returns the natural (base e) logarithm of a specified complex number.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public:
static Complex Log(
	Complex value
)

Parameters

value
Type: System.Numerics::Complex

A complex number.

Return Value

Type: System.Numerics::Complex

The natural (base e) logarithm of value.

The Log(Complex) method for complex numbers corresponds to the Math::Log(Double) method for real numbers.

The following example illustrates the Log method. It shows that, with some allowance for the lack of precision of the Double data type, passing the value returned by the Log method to the Exp method returns the original Complex value.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft