Namespaces
Variants
Views
Actions

std::log(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex
Revision as of 14:00, 31 May 2014 by Diego91b (Talk | contribs)

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.

Parameters

z - complex value

Return value

Complex natural logarithm of z

See also

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