Standard C++ Library Reference ISO/IEC (VERSION3)

complex<Ty>& right);
The template function attempts to extract a complex value from the input stream istr,
effectively by executing:
istr >> ch && ch == '('
&& istr >> re >> ch && ch == ','
&& istr >> im >> ch && ch == ')'
Here, ch is an object of type Elem, and re and im are objects of type Ty.
If the result of this expression is true, the function stores re in the real part and im in the
imaginary part of right. In any event, the function returns istr.
polar
template<class Ty>
complex<Ty> polar(const Ty& rho,
const Ty& theta = 0);
The function returns the complex value whose magnitude is rho and whose phase angle is
theta.
pow
template<class Ty>
complex<Ty> pow(const complex<Ty>& left, int right);
template<class Ty>
complex<Ty> pow(const complex<Ty>& left,
const Ty& right);
template<class Ty>
complex<Ty> pow(const complex<Ty>& left,
const complex<Ty>& right);
template<class Ty>
complex<Ty> pow(const Ty& left,
const complex<Ty>& right);
The functions each effectively convert both operands to the return type, then return the
converted left to the power right. The branch cut for left is along the negative real axis.
real
template<class Ty>
Ty real(const complex<Ty>& left);
The function returns the real part of left.