It is a natural logarithm of complex and returns the natural (base-e) logarithm of the complex number x, using the principal branch, whose cuts are along the negative real axis. .
he value computed is bounded along the imaginary axis between [-i*PI,i*PI].When x is a negative real number, log(x).imag() is PI.
DeclarationFollowing is the declaration for std::log.
template<class T> complex<T> log (const complex<T>& x);C++11
template<class T> complex<T> log (const complex<T>& x);Parameters
x − It is a complex value.
Return ValueIt returns the natural (base-e) logarithm of the complex number x, using the principal branch, whose cuts are along the negative real axis.
Exceptionsnone
complex.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4