A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/complex:pow below:

function template

<complex>

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);
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);

Power of complex

Returns the complex power of base x raised to the y-th power using the principal branch, whose cuts are along the negative real axis, as if computed by:
This is the complex version of the pow function (defined in <cmath>).

Parameters
x
Base value.
y
Exponent value.
T is the type of the components of the complex type (i.e., its value type).

Return value The result of raising x to the y-th power.
The value returned for pow(0,0) is implementation-defined.

See also
log
Natural logarithm of complex (function template)
exp
Exponential of complex (function template)
sqrt
Square root of complex (function template)
pow (cmath)
Raise to power (function)

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