亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? complex

?? C標準庫源代碼,能提高對C的理解,不錯的哦
??
字號:
// complex standard header

#if     _MSC_VER > 1000 /*IFSTRIP=IGN*/
#pragma once
#endif

#ifndef _COMPLEX_
#define _COMPLEX_
#include <ymath.h>
#include <cmath>
#include <sstream>
#include <xutility>

#ifdef  _MSC_VER
#pragma pack(push,8)
#endif  /* _MSC_VER */
_STD_BEGIN
#define __STD_COMPLEX
		// TEMPLATE CLASS _Ctr
template<class _Ty> class _Ctr {
public:
	static _Ty _Cosh(_Ty _X, _Ty _Y)
		{return (::_Cosh((double)_X, (double)_Y)); }
	static short _Exp(_Ty *_P, _Ty _Y, short _E)
		{double _W = (double)*_P;
		short _Ans = ::_Exp(&_W, (double)_Y, _E);
		*_P = (_Ty)_W;
		return (_Ans); }
	static _Ty _Infv(_Ty)
		{return (_Inf._D); }
	static bool _Isinf(_Ty _X)
		{double _W = (double)_X;
		return (_Dtest(&_W) == _INFCODE); }
	static bool _Isnan(_Ty _X)
		{double _W = (double)_X;
		return (_Dtest(&_W) == _NANCODE); }
	static _Ty _Nanv(_Ty)
		{return (_Nan._D); }
	static _Ty _Sinh(_Ty _X, _Ty _Y)
		{return (::_Sinh((double)_X, (double)_Y)); }
	static _Ty atan2(_Ty _Y, _Ty _X)
		{return (::atan2((double)_Y, (double)_X)); }
	static _Ty cos(_Ty _X)
		{return (::cos((double)_X)); }
	static _Ty exp(_Ty _X)
		{return (::exp((double)_X)); }
	static _Ty ldexp(_Ty _R, int _E)
		{return (::ldexp((double)_R, _E)); }
	static _Ty log(_Ty _X)
		{return (::log((double)_X)); }
	static _Ty pow(_Ty _X, _Ty _Y)
		{return (::pow((double)_X, (double)_Y)); }
	static _Ty sin(_Ty _X)
		{return (::sin((double)_X)); }
	static _Ty sqrt(_Ty _X)
		{return (::sqrt((double)_X)); }
	};
		// CLASS _Ctr<long double>
class _CRTIMP2 _Ctr<long double> {
public:
	typedef long double _Ty;
	static _Ty _Cosh(_Ty _X, _Ty _Y)
		{return (_LCosh(_X, _Y)); }
	static short _Exp(_Ty *_P, _Ty _Y, short _E)
		{return (_LExp(_P, _Y, _E)); }
	static _Ty _Infv(_Ty)
		{return (_LInf._L); }
	static bool _Isinf(_Ty _X)
		{return (_LDtest(&_X) == _INFCODE); }
	static bool _Isnan(_Ty _X)
		{return (_LDtest(&_X) == _NANCODE); }
	static _Ty _Nanv(_Ty)
		{return (_LNan._L); }
	static _Ty _Sinh(_Ty _X, _Ty _Y)
		{return (_LSinh(_X, _Y)); }
	static _Ty atan2(_Ty _Y, _Ty _X)
		{return (atan2l(_Y, _X)); }
	static _Ty cos(_Ty _X)
		{return (cosl(_X)); }
	static _Ty exp(_Ty _X)
		{return (expl(_X)); }
	static _Ty ldexp(_Ty _R, int _E)
		{return (ldexpl(_R, _E)); }
	static _Ty log(_Ty _X)
		{return (logl(_X)); }
	static _Ty pow(_Ty _X, _Ty _Y)
		{return (powl(_X, _Y)); }
	static _Ty sin(_Ty _X)
		{return (sinl(_X)); }
	static _Ty sqrt(_Ty _X)
		{return (sqrtl(_X)); }
	};
		// CLASS _Ctr<double>
class _CRTIMP2 _Ctr<double> {
public:
	typedef double _Ty;
	static _Ty _Cosh(_Ty _X, _Ty _Y)
		{return (::_Cosh(_X, _Y)); }
	static short _Exp(_Ty *_P, _Ty _Y, short _E)
		{return (::_Exp(_P, _Y, _E)); }
	static _Ty _Infv(_Ty)
		{return (_Inf._D); }
	static bool _Isinf(_Ty _X)
		{return (_Dtest(&_X) == _INFCODE); }
	static bool _Isnan(_Ty _X)
		{return (_Dtest(&_X) == _NANCODE); }
	static _Ty _Nanv(_Ty)
		{return (_Nan._D); }
	static _Ty _Sinh(_Ty _X, _Ty _Y)
		{return (::_Sinh(_X, _Y)); }
	static _Ty atan2(_Ty _Y, _Ty _X)
		{return (::atan2(_Y, _X)); }
	static _Ty cos(_Ty _X)
		{return (::cos(_X)); }
	static _Ty exp(_Ty _X)
		{return (::exp(_X)); }
	static _Ty ldexp(_Ty _R, int _E)
		{return (::ldexp(_R, _E)); }
	static _Ty log(_Ty _X)
		{return (::log(_X)); }
	static _Ty pow(_Ty _X, _Ty _Y)
		{return (::pow(_X, _Y)); }
	static _Ty sin(_Ty _X)
		{return (::sin(_X)); }
	static _Ty sqrt(_Ty _X)
		{return (::sqrt(_X)); }
	};
class _CRTIMP2 _Ctr<float> {
public:
	typedef float _Ty;
	static _Ty _Cosh(_Ty _X, _Ty _Y)
		{return (_FCosh(_X, _Y)); }
	static short _Exp(_Ty *_P, _Ty _Y, short _E)
		{return (_FExp(_P, _Y, _E)); }
	static _Ty _Infv(_Ty)
		{return (_FInf._F); }
	static bool _Isinf(_Ty _X)
		{return (_FDtest(&_X) == _INFCODE); }
	static bool _Isnan(_Ty _X)
		{return (_FDtest(&_X) == _NANCODE); }
	static _Ty _Nanv(_Ty)
		{return (_FNan._F); }
	static _Ty _Sinh(_Ty _X, _Ty _Y)
		{return (_FSinh(_X, _Y)); }
	static _Ty atan2(_Ty _Y, _Ty _X)
		{return (atan2f(_Y, _X)); }
	static _Ty cos(_Ty _X)
		{return (cosf(_X)); }
	static _Ty exp(_Ty _X)
		{return (expf(_X)); }
	static _Ty ldexp(_Ty _R, int _E)
		{return (ldexpf(_R, _E)); }
	static _Ty log(_Ty _X)
		{return (logf(_X)); }
	static _Ty pow(_Ty _X, _Ty _Y)
		{return (powf(_X, _Y)); }
	static _Ty sin(_Ty _X)
		{return (sinf(_X)); }
	static _Ty sqrt(_Ty _X)
		{return (sqrtf(_X)); }
	};
		// TEMPLATE CLASS _Complex_base
template<class _Ty> class complex;
class _CRTIMP2 complex<float>;
class _CRTIMP2 complex<double>;
class _CRTIMP2 complex<long double>;
template<class _Ty>
	class _Complex_base {
public:
	typedef _Complex_base<_Ty> _Myt;
	typedef _Ctr<_Ty> _Myctr;
	typedef _Ty value_type;
	_Complex_base(const _Ty& _R, const _Ty& _I)
		: _Re(_R), _Im(_I) {}
	_Myt& operator+=(const _Ty& _X)
		{_Re = _Re + _X;
		return (*this); }
	_Myt& operator-=(const _Ty& _X)
		{_Re = _Re - _X;
		return (*this); }
	_Myt& operator*=(const _Ty& _X)
		{_Re = _Re * _X;
		_Im = _Im * _X;
		return (*this); }
	_Myt& operator/=(const _Ty& _X)
		{_Re = _Re / _X;
		_Im = _Im / _X;
		return (*this); }
	_Ty real(const _Ty& _X)
		{return (_Re = _X); }
	_Ty imag(const _Ty& _X)
		{return (_Im = _X); }
	_Ty real() const
		{return (_Re); }
	_Ty imag() const
		{return (_Im); }
protected:
	_Ty _Re, _Im;
	};

#ifdef __FORCE_INSTANCE
template class _CRTIMP2 _Complex_base<float>;
template class _CRTIMP2 _Complex_base<double>;
template class _CRTIMP2 _Complex_base<long double>;
#endif		// __FORCE_INSTANCE

		// CLASS complex<float>
class _CRTIMP2 complex<float> : public _Complex_base<float> {
public:
	typedef float _Ty;
	explicit complex(const complex<double>&);
	explicit complex(const complex<long double>&);
	complex(const _Ty& _R = 0, const _Ty& _I = 0)
		: _Complex_base<_Ty>(_R, _I) {}
	complex<_Ty>& operator=(const _Ty& _X)
		{_Re = _X;
		_Im = 0;
		return (*this); }
	};
		// CLASS complex<double>
class _CRTIMP2 complex<double> : public _Complex_base<double> {
public:
	typedef double _Ty;
	complex(const complex<float>&);
	explicit complex(const complex<long double>&);
	complex(const _Ty& _R = 0, const _Ty& _I = 0)
		: _Complex_base<_Ty>(_R, _I) {}
	complex<_Ty>& operator=(const _Ty& _X)
		{_Re = _X;
		_Im = 0;
		return (*this); }
	};
		// CLASS complex<long double>
class _CRTIMP2 complex<long double> : public _Complex_base<long double> {
public:
	typedef long double _Ty;
	complex(const complex<float>&);
	complex(const complex<double>&);
	complex(const _Ty& _R = 0, const _Ty& _I = 0)
		: _Complex_base<_Ty>(_R, _I) {}
	complex<_Ty>& operator=(const _Ty& _X)
		{_Re = _X;
		_Im = 0;
		return (*this); }
	};
		// CONSTRUCTORS FOR complex SPECIALIZATIONS
inline complex<float>::complex(const complex<double>& _X)
	: _Complex_base<float>((_Ty)_X.real(), (_Ty)_X.imag()) {}
inline complex<float>::complex(const complex<long double>& _X)
	: _Complex_base<float>((_Ty)_X.real(), (_Ty)_X.imag()) {}
inline complex<double>::complex(const complex<float>& _X)
	: _Complex_base<double>((_Ty)_X.real(), (_Ty)_X.imag()) {}
inline complex<double>::complex(const complex<long double>& _X)
	: _Complex_base<double>((_Ty)_X.real(), (_Ty)_X.imag()) {}
inline complex<long double>::complex(const complex<float>& _X)
	: _Complex_base<long double>((_Ty)_X.real(), (_Ty)_X.imag()) {}
inline complex<long double>::complex(const complex<double>& _X)
	: _Complex_base<long double>((_Ty)_X.real(), (_Ty)_X.imag()) {}
		// TEMPLATE CLASS complex
template<class _Ty>
	class complex : public _Complex_base<_Ty> {
public:
	complex(const _Ty& _R = 0, const _Ty& _I = 0)
		: _Complex_base<_Ty>(_R, _I) {}
	typedef _Ty _U;
	complex(const complex<_U>& _X)
		: _Complex_base<_Ty>((_Ty)_X.real(), (_Ty)_X.imag()) {}
	complex<_Ty>& operator=(const complex<_U>& _X)
		{_Re = (_Ty)_X.real();
		_Im = (_Ty)_X.imag();
		return (*this); }
	};
		// TEMPLATE complex OPERATORS
template<class _Ty, class _U> inline
	complex<_Ty>& __cdecl operator+=(
	complex<_Ty>& _X,
	const complex<_U>& _Y)
	{_X.real(_X.real() + (_Ty)_Y.real());
	_X.imag(_X.imag() + (_Ty)_Y.imag());
	return (_X); }
template<class _Ty, class _U> inline
	 complex<_Ty>& __cdecl operator-=(
	complex<_Ty>& _X,
	const complex<_U>& _Y)
	{_X.real(_X.real() - (_Ty)_Y.real());
	_X.imag(_X.imag() - (_Ty)_Y.imag());
	return (_X); }
template<class _Ty, class _U> inline
	 complex<_Ty>& __cdecl operator*=(
	complex<_Ty>& _X,
	const complex<_U>& _Y)
	{_Ty _Yre = (_Ty)_Y.real();
	_Ty _Yim = (_Ty)_Y.imag();
	_Ty _W = _X.real() * _Yre - _X.imag() * _Yim;
	_X.imag(_X.real() * _Yim + _X.imag() * _Yre);
	_X.real(_W);
	return (_X); }
template<class _Ty, class _U> inline
	 complex<_Ty>& __cdecl operator/=(
	complex<_Ty>& _X,
	const complex<_U>& _Y)
	{typedef _Ctr<_Ty> _Myctr;
	_Ty _Yre = (_Ty)_Y.real();
	_Ty _Yim = (_Ty)_Y.imag();
	if (_Myctr::_Isnan(_Yre) || _Myctr::_Isnan(_Yim))
		_X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real());
	else if ((_Yim < 0 ? -_Yim : +_Yim)
		< (_Yre < 0 ? -_Yre : +_Yre))
		{_Ty _Wr = _Yim / _Yre;
		_Ty _Wd = _Yre + _Wr * _Yim;
		if (_Myctr::_Isnan(_Wd) || _Wd == 0)
			_X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real());
		else
			{_Ty _W = (_X.real() + _X.imag() * _Wr) / _Wd;
			_X.imag((_X.imag() - _X.real() * _Wr) / _Wd);
			_X.real(_W); }}
	else if (_Yim == 0)
		_X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real());
	else
		{_Ty _Wr = _Yre / _Yim;
		_Ty _Wd = _Yim + _Wr * _Yre;
		if (_Myctr::_Isnan(_Wd) || _Wd == 0)
			_X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real());
		else
			{_Ty _W = (_X.real() * _Wr + _X.imag()) / _Wd;
			_X.imag((_X.imag() * _Wr - _X.real()) / _Wd);
			_X.real(_W); }}
	return (_X); }
		// TEMPLATE FUNCTION operator>>
template<class _E, class _Tr, class _U> inline
	basic_istream<_E, _Tr>& __cdecl operator>>(
		basic_istream<_E, _Tr>& _I, complex<_U>& _X)
	{typedef complex<_U> _Myt;
	_E _Ch;
	long double _Re, _Im;
	if (_I >> _Ch && _Ch != '(')
		_I.putback(_Ch), _I >> _Re, _Im = 0;
	else if (_I >> _Re >> _Ch && _Ch != ',')
		if (_Ch == ')')
			_Im = 0;
		else
			_I.putback(_Ch), _I.setstate(ios_base::failbit);
	else if (_I >> _Im >> _Ch && _Ch != ')')
			_I.putback(_Ch), _I.setstate(ios_base::failbit);
	if (!_I.fail())
		_X = _Myt((_U)_Re, (_U)_Im);
	return (_I); }
		// TEMPLATE FUNCTION operator<<
template<class _E, class _Tr, class _U> inline
	basic_ostream<_E, _Tr>& __cdecl operator<<(
		basic_ostream<_E, _Tr>& _O, const complex<_U>& _X)
	{basic_ostringstream<_E, _Tr, allocator<_E> > _S;
	_S.flags(_O.flags());
	_S.imbue(_O.getloc());
	_S.precision(_O.precision());
	_S << '(' << real(_X) << ',' << imag(_X) << ')';
	return (_O << _S.str().c_str()); }
 #define _CMPLX(T)	complex<T >
 #define _CTR(T)	_Ctr<T >
 #define _TMPLT(T)	template<class T >
 #include <xcomplex>
_STD_END
#ifdef  _MSC_VER
#pragma pack(pop)
#endif  /* _MSC_VER */

#endif /* _COMPLEX_ */

/*
 * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
 * Consult your license regarding permissions and restrictions.
 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
婷婷中文字幕一区三区| 国产欧美日韩三级| 日韩中文字幕区一区有砖一区| 97久久超碰精品国产| 日韩美女啊v在线免费观看| 99国产麻豆精品| 亚洲精选视频免费看| 欧美在线你懂得| 全国精品久久少妇| 精品久久久久久久久久久久久久久久久| 奇米四色…亚洲| 久久综合九色综合97婷婷女人| 东方aⅴ免费观看久久av| 国产欧美精品国产国产专区| 99久久er热在这里只有精品66| 亚洲欧美日韩久久精品| 欧美男女性生活在线直播观看| 日韩不卡一区二区三区| 久久久国产精品午夜一区ai换脸| 99国内精品久久| 日韩在线观看一区二区| 2020日本不卡一区二区视频| 成人小视频免费观看| 亚洲第一狼人社区| 欧美极品少妇xxxxⅹ高跟鞋| 在线视频一区二区免费| 免费的成人av| 国产精品久久久久桃色tv| 在线观看一区不卡| 国产成人在线色| 亚洲午夜私人影院| 欧美经典一区二区三区| 欧美军同video69gay| 国产精品中文字幕欧美| 亚洲激情图片qvod| 精品日产卡一卡二卡麻豆| av激情综合网| 激情欧美一区二区三区在线观看| 国产精品白丝在线| 日韩精品专区在线影院重磅| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 正在播放一区二区| av电影在线观看不卡| 看电视剧不卡顿的网站| 亚洲激情图片小说视频| 欧美国产综合色视频| 欧美猛男gaygay网站| 91日韩精品一区| 国产精品亚洲一区二区三区在线| 亚洲不卡一区二区三区| 国产精品福利一区二区| 久久色视频免费观看| 欧美精品自拍偷拍| 一本大道久久a久久精二百| 精品一区二区三区影院在线午夜| 亚洲午夜久久久久久久久电影院| 国产欧美精品区一区二区三区| 欧美一级爆毛片| 在线观看免费亚洲| 99精品久久只有精品| 国产精品影视网| 另类小说一区二区三区| 日韩精品亚洲专区| 亚洲亚洲人成综合网络| 亚洲欧洲在线观看av| 亚洲国产精品成人综合| 国产丝袜美腿一区二区三区| 精品美女一区二区| 日韩欧美国产三级电影视频| 欧美亚洲精品一区| 在线亚洲一区二区| 色综合夜色一区| 91一区一区三区| aaa国产一区| av毛片久久久久**hd| 99久久精品国产观看| 不卡的av电影在线观看| 波波电影院一区二区三区| 成人免费av网站| 波多野结衣欧美| 99在线精品免费| 色婷婷亚洲一区二区三区| 91影院在线观看| 欧美性色综合网| 欧美日韩一区二区三区免费看| 欧洲视频一区二区| 在线观看日韩电影| 51久久夜色精品国产麻豆| 欧美人妖巨大在线| 欧美一区二区播放| 日韩一级片在线观看| 精品黑人一区二区三区久久 | 亚洲欧美一区二区三区孕妇| 成人欧美一区二区三区小说| 亚洲另类在线一区| 午夜精品福利视频网站| 日日噜噜夜夜狠狠视频欧美人| 色婷婷综合中文久久一本| 色综合天天做天天爱| 成人毛片老司机大片| 春色校园综合激情亚洲| 91蜜桃婷婷狠狠久久综合9色| 91福利资源站| 日韩免费视频一区| 欧美极品xxx| 亚洲午夜久久久久| 成人福利视频网站| 欧美国产一区视频在线观看| 欧美日本在线视频| 欧美午夜精品免费| 在线观看日韩毛片| 欧美亚洲国产bt| 欧美性三三影院| 91国偷自产一区二区开放时间 | 色综合一个色综合| 色综合夜色一区| 在线一区二区三区| 欧美亚洲免费在线一区| 欧美日韩一区成人| 欧美乱妇23p| 3d动漫精品啪啪一区二区竹菊| 欧美在线视频你懂得| 欧美亚洲一区二区在线观看| 欧美性猛交xxxxxxxx| 欧美怡红院视频| 欧美电影一区二区三区| 欧美日韩视频在线一区二区| 欧美麻豆精品久久久久久| 欧美美女喷水视频| 日韩免费高清av| 久久久久久影视| 国产精品欧美精品| 一区二区三区日韩欧美精品| 亚洲精品国产成人久久av盗摄| 亚洲精选视频在线| 香港成人在线视频| 精品无人区卡一卡二卡三乱码免费卡| 精品亚洲国内自在自线福利| 国产美女在线观看一区| 99久久伊人精品| 欧美日韩在线一区二区| 精品久久久三级丝袜| 国产精品青草久久| 五月天亚洲精品| 国产一区视频网站| 91极品视觉盛宴| 欧美精品一区二区三区在线播放| 久久精品日产第一区二区三区高清版| 国产精品国产自产拍在线| 亚洲午夜久久久久久久久久久| 青青青爽久久午夜综合久久午夜| 国产在线精品一区二区三区不卡 | 色综合久久久久综合体| 91精品中文字幕一区二区三区| 久久综合色综合88| 亚洲图片欧美激情| 精品一区二区三区视频| 色激情天天射综合网| 久久综合给合久久狠狠狠97色69| 中文字幕在线一区免费| 轻轻草成人在线| 9人人澡人人爽人人精品| 日韩一区二区三区免费看| 国产精品精品国产色婷婷| 日韩精品一二三区| 色综合天天综合网天天狠天天| 日韩精品一区二区三区老鸭窝| 自拍视频在线观看一区二区| 久久精品av麻豆的观看方式| 99国产精品国产精品毛片| 日韩欧美色综合| 亚洲激情成人在线| 国产成人丝袜美腿| 欧美一二三四区在线| 综合色天天鬼久久鬼色| 国产成人啪午夜精品网站男同| 精品视频全国免费看| 国产精品美女久久久久aⅴ国产馆| 免费三级欧美电影| 欧美日韩视频在线观看一区二区三区 | 国产精品无人区| 久草在线在线精品观看| 欧美亚洲综合色| 亚洲精品自拍动漫在线| 国产大陆a不卡| 精品三级在线观看| 男女男精品网站| 欧美日韩美女一区二区| 亚洲天堂免费看| zzijzzij亚洲日本少妇熟睡| 久久精品在线观看| 国产乱人伦偷精品视频免下载| 日韩欧美国产三级| 免费高清不卡av| 制服丝袜国产精品| 麻豆精品视频在线观看视频| 91超碰这里只有精品国产| 午夜久久久影院| 欧美一区二区在线播放| 免费在线一区观看|