It is a power of complex and returns the complex power of base x raised to the y-th power using the principal branch.
DeclarationFollowing is the declaration for std::pow.
template<class T> complex<T> pow (const complex<T>& x, int y); template<class T> complex<T> pow (const complex<T>& x, const complex<T>& y); template<class T> complex<T> pow (const complex<T>& x, const T& y); template<class T> complex<T> pow (const T& x, const complex<T>& y);C++11
template<class T> complex<T> pow (const complex<T>& x, const complex<T>& y); template<class T> complex<T> pow (const complex<T>& x, const T& y); template<class T> complex<T> pow (const T& x, const complex<T>& y);Parameters
x − It is a complex value.
y − It is an exponent value.
It returns the complex power of base x raised to the y-th power using the principal branch.
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