Standard C++ Library Reference ISO/IEC (VERSION3)
template<class Ty>
complex<Ty> pow(const Ty& left, const complex<Ty>& right);
template<class Ty>
complex<Ty> sin(const complex<Ty>& left);
template<class Ty>
complex<Ty> sinh(const complex<Ty>& left);
template<class Ty>
complex<Ty> sqrt(const complex<Ty>& left);
};
abs
template<class Ty>
Ty abs(const complex<Ty>& left);
The function returns the magnitude of left.
arg
template<class Ty>
Ty arg(const complex<Ty>& left);
The function returns the phase angle of left.
complex
template<class Ty>
class complex {
public:
typedef Ty value_type;
Ty real() const;
Ty imag() const;
complex(const Ty& realval = 0, const Ty& imagval = 0);
template<class Other>
complex(const complex<Other>& right);
template<class Other>
complex& operator=(const complex<Other>& right);
template<class Other>
complex& operator+=(const complex<Other>& right);
template<class Other>
complex& operator-=(const complex<Other>& right);
template<class Other>