?? xcomplex
字號:
return (_CMPLX(_Ty)(-imag(_X) / (2 * _Rho), -_Rho));
else
return (_CMPLX(_Ty)(imag(_X) / (2 * _Rho),
_Rho)); }}
#ifdef _DLL
#ifndef CRTDLL2
#pragma warning(disable:4231) /* the extern before template is a non-standard extension */
extern template _CRTIMP2 complex<float>& __cdecl operator+=(
complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float>& __cdecl operator-=(
complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float>& __cdecl operator*=(
complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float>& __cdecl operator/=(
complex<float>&, const complex<float>&);
extern template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
basic_istream<char, char_traits<char> >&, complex<float>&);
extern template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
basic_ostream<char, char_traits<char> >&, const complex<float>&);
extern template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
basic_istream<wchar_t, char_traits<wchar_t> >&, complex<float>&);
extern template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<float>&);
extern template _CRTIMP2 complex<double>& __cdecl operator+=(
complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double>& __cdecl operator-=(
complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double>& __cdecl operator*=(
complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double>& __cdecl operator/=(
complex<double>&, const complex<double>&);
extern template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
basic_istream<char, char_traits<char> >&, complex<double>&);
extern template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
basic_ostream<char, char_traits<char> >&, const complex<double>&);
extern template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
basic_istream<wchar_t, char_traits<wchar_t> >&, complex<double>&);
extern template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<double>&);
extern template _CRTIMP2 complex<long double>& __cdecl operator+=(
complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double>& __cdecl operator-=(
complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double>& __cdecl operator*=(
complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double>& __cdecl operator/=(
complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
basic_istream<char, char_traits<char> >&, complex<long double>&);
extern template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
basic_ostream<char, char_traits<char> >&, const complex<long double>&);
extern template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
basic_istream<wchar_t, char_traits<wchar_t> >&, complex<long double>&);
extern template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<long double>&);
extern template _CRTIMP2 float __cdecl imag(const complex<float>&);
extern template _CRTIMP2 float __cdecl real(const complex<float>&);
extern template _CRTIMP2 float __cdecl _Fabs(const complex<float>&, int *);
extern template _CRTIMP2 complex<float> __cdecl operator+(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator+(
const complex<float>&, const float&);
extern template _CRTIMP2 complex<float> __cdecl operator+(
const float&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator-(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator-(
const complex<float>&, const float&);
extern template _CRTIMP2 complex<float> __cdecl operator-(
const float&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator*(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator*(
const complex<float>&, const float&);
extern template _CRTIMP2 complex<float> __cdecl operator*(
const float&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator/(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator/(
const complex<float>&, const float&);
extern template _CRTIMP2 complex<float> __cdecl operator/(
const float&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator+(
const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl operator-(
const complex<float>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<float>&, const float&);
extern template _CRTIMP2 bool __cdecl operator==(
const float&, const complex<float>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<float>&, const float&);
extern template _CRTIMP2 bool __cdecl operator!=(
const float&, const complex<float>&);
extern template _CRTIMP2 float __cdecl abs(const complex<float>&);
extern template _CRTIMP2 float __cdecl arg(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl conj(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl cos(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl cosh(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl exp(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl log(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl log10(const complex<float>&);
extern template _CRTIMP2 float __cdecl norm(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl polar(const float&, const float&);
extern template _CRTIMP2 complex<float> __cdecl polar(const float&);
extern template _CRTIMP2 complex<float> __cdecl pow(
const complex<float>&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl pow(
const complex<float>&, const float&);
extern template _CRTIMP2 complex<float> __cdecl pow(
const complex<float>&, int);
extern template _CRTIMP2 complex<float> __cdecl pow(
const float&, const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl sin(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl sinh(const complex<float>&);
extern template _CRTIMP2 complex<float> __cdecl sqrt(const complex<float>&);
extern template _CRTIMP2 double __cdecl imag(const complex<double>&);
extern template _CRTIMP2 double __cdecl real(const complex<double>&);
extern template _CRTIMP2 double __cdecl _Fabs(const complex<double>&, int *);
extern template _CRTIMP2 complex<double> __cdecl operator+(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator+(
const complex<double>&, const double&);
extern template _CRTIMP2 complex<double> __cdecl operator+(
const double&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator-(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator-(
const complex<double>&, const double&);
extern template _CRTIMP2 complex<double> __cdecl operator-(
const double&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator*(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator*(
const complex<double>&, const double&);
extern template _CRTIMP2 complex<double> __cdecl operator*(
const double&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator/(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator/(
const complex<double>&, const double&);
extern template _CRTIMP2 complex<double> __cdecl operator/(
const double&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator+(
const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl operator-(
const complex<double>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<double>&, const double&);
extern template _CRTIMP2 bool __cdecl operator==(
const double&, const complex<double>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<double>&, const double&);
extern template _CRTIMP2 bool __cdecl operator!=(
const double&, const complex<double>&);
extern template _CRTIMP2 double __cdecl abs(const complex<double>&);
extern template _CRTIMP2 double __cdecl arg(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl conj(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl cos(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl cosh(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl exp(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl log(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl log10(const complex<double>&);
extern template _CRTIMP2 double __cdecl norm(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl polar(const double&, const double&);
extern template _CRTIMP2 complex<double> __cdecl polar(const double&);
extern template _CRTIMP2 complex<double> __cdecl pow(
const complex<double>&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl pow(
const complex<double>&, const double&);
extern template _CRTIMP2 complex<double> __cdecl pow(
const complex<double>&, int);
extern template _CRTIMP2 complex<double> __cdecl pow(
const double&, const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl sin(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl sinh(const complex<double>&);
extern template _CRTIMP2 complex<double> __cdecl sqrt(const complex<double>&);
extern template _CRTIMP2 long double __cdecl imag(const complex<long double>&);
extern template _CRTIMP2 long double __cdecl real(const complex<long double>&);
extern template _CRTIMP2 long double __cdecl _Fabs(const complex<long double>&, int *);
extern template _CRTIMP2 complex<long double> __cdecl operator+(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator+(
const complex<long double>&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl operator+(
const long double&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator-(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator-(
const complex<long double>&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl operator-(
const long double&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator*(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator*(
const complex<long double>&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl operator*(
const long double&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator/(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator/(
const complex<long double>&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl operator/(
const long double&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator+(
const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl operator-(
const complex<long double>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 bool __cdecl operator==(
const complex<long double>&, const long double&);
extern template _CRTIMP2 bool __cdecl operator==(
const long double&, const complex<long double>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 bool __cdecl operator!=(
const complex<long double>&, const long double&);
extern template _CRTIMP2 bool __cdecl operator!=(
const long double&, const complex<long double>&);
extern template _CRTIMP2 long double __cdecl abs(const complex<long double>&);
extern template _CRTIMP2 long double __cdecl arg(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl conj(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl cos(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl cosh(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl exp(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl log(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl log10(const complex<long double>&);
extern template _CRTIMP2 long double __cdecl norm(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl polar(const long double&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl polar(const long double&);
extern template _CRTIMP2 complex<long double> __cdecl pow(
const complex<long double>&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl pow(
const complex<long double>&, const long double&);
extern template _CRTIMP2 complex<long double> __cdecl pow(
const complex<long double>&, int);
extern template _CRTIMP2 complex<long double> __cdecl pow(
const long double&, const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl sin(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl sinh(const complex<long double>&);
extern template _CRTIMP2 complex<long double> __cdecl sqrt(const complex<long double>&);
#pragma warning(default:4231) /* restore previous warning */
#endif // CRTDLL2
#endif // _DLL
#endif /* _XCOMPLEX */
/*
* Copyright (c) 1996 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -