std::log(std::complex)

std::log(std::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.

Parameters

z - complex value

Return value

If no errors occur, the complex natural logarithm of z is returned, in the range of a strip in the interval [−iπ, +i