function template
<complex>
std::logtemplate<class T> complex<T> log (const complex<T>& x);
Natural logarithm of complex
Returns the natural (base-e) logarithm of the complex number x, using the principal branch, whose cuts are along the negative real axis.The value computed is bounded along the imaginary axis between [-i*PI,i*PI]
.
log(x).imag()
is PI
.
This is the complex version of the log function (defined in <cmath>
).
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