It is a quare root of complex and returns the square root of x using the principal branch, whose cuts are along the negative real axis.
DeclarationFollowing is the declaration for std::sqrt.
template<class T> complex<T> sqrt (const complex<T>& x);C++11
template<class T> complex<T> sqrt (const complex<T>& x);Parameters
x − It is a complex value.
Return ValueIt returns the square root of 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