std::log(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex
Defined in header <complex>
template< class T >
complex<T> log( const complex<T>& z );

Computes complex natural (base e) logarithm of a complex value z with a branch cut along the negative real axis.

[edit] Parameters

z - complex value

[edit] Return value

Complex natural logarithm of z

[edit] See also

complex common logarithm with the branch cuts along the negative real axis
(function template)
complex base e exponential
(function template)
computes natural (base e) logarithm (to base e) (ln(x))
(function)
applies the function std::log to each element of valarray
(function template)
C documentation for clog