|
| _TMPLT (_Ty) inline _CMPLX(_Ty) operator+(const _CMPLX(_Ty)&_Left |
|
const | _CMPLX (_Ty)&_Right) |
|
_Tmp | real (_Tmp.real()+_Right) |
|
| return (_Tmp) |
|
_Tmp | real (_Tmp.real()-_Right) |
|
_Tmp | real (_Tmp.real()*_Right) |
|
_Tmp | imag (_Tmp.imag()*_Right) |
|
_Tmp | real (_Tmp.real()/_Right) |
|
_Tmp | imag (_Tmp.imag()/_Right) |
|
| if (_Right< 0) _Count=0-_Count |
|
| for (_CMPLX(_Ty) _Zv=_CMPLX(_Ty)(1);;_Tmp *=_Tmp) |
|
else | return (exp(_Right *log(_CMPLX(_Ty)(_Left)))) |
|
else | return (exp(_Right *log(_Left))) |
|
template<class _Ty1 , class _Ty2 > |
complex< typename _Common_float_type< _Ty1, _Ty2 >::type > | polar (const _Ty1 &_Left, const _Ty2 &_Right) |
|
template<class _Ty1 , class _Ty2 > |
complex< typename _Common_float_type< _Ty1, _Ty2 >::type > | pow (const complex< _Ty1 > &_Left, const complex< _Ty2 > &_Right) |
|
template<class _Ty1 , class _Ty2 > |
complex< typename _Common_float_type< _Ty1, _Ty2 >::type > | pow (const complex< _Ty1 > &_Left, const _Ty2 &_Right) |
|
template<class _Ty1 , class _Ty2 > |
complex< typename _Common_float_type< _Ty1, _Ty2 >::type > | pow (const _Ty1 &_Left, const complex< _Ty2 > &_Right) |
|
template<class _Ty1 , class _Ty2 > |
enable_if< is_integral< _Ty1 >::value &&is_integral< _Ty2 >::value, complex< _Ty1 > >::type | pow (const complex< _Ty1 > &_Left, _Ty2 &_Right) |
|