-
Archive
4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为:
realpart+imaginarypart*i
用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。
(1)两个复数相加;
(2)两个复数相减
(3)用(a, b)的形式打印复数,其中a为实部,b为虚部。
(4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)
- 2013-12-18 15:14:46下载
- 积分:1
-
ji
说明: 针对小流域设计洪水计算中,采用推理公式求解洪峰流量Qm及汇流时间τ的方法繁琐,查算精度较低等问题,提出用牛顿迭代法求解,该方法较原图解试算法收敛快,迭代次数少,计算速度快,精度可靠。计算实例表明,用简单迭代法与牛顿迭代法计算设计洪峰流量,其结果与图解试算法完全一致。()
- 2008-06-30 12:38:13下载
- 积分:1
-
embedded-systems
基于 嵌 入式系 统 理 论和 容 错系 统 体系 结 构, 结 合故障 一 安 全电 路的 设计 理念, 给出 了 一 种 嵌
入式 二乘 二 取 二容 错计算 机 联锁系 统的 硬件 设计. 深 入阐 述了 系 统 硬件电 路的 设计理论依据和工
作原 理, 同 时 给出了 设计中 的 元 件选型. 通过功能 测试, 系 统设计符 合故障 一 安全的 设计原则, 理论
计 算 表明, 其可 靠 性、 安全 性 达 到 铁 路 信号系 统 要求(Based on the theory of embedded systems and fault-tolerant system architecture, combining design fail-safe circuitry, gives a socketed
Take two squares two-in fault-tolerant computer interlocking system hardware design. Further expounded on system hardware circuit design theory and work
Design principles for the principle, and gives the design of the component selection through functional testing, failure of a safety system designed to meet the theoretical
Calculations show that the reliability, security, railway signaling system requirements to achieve)
- 2014-01-19 21:42:09下载
- 积分:1
-
decode_ldpc
ldpc译码算法 实现ldpc的译码 20个字(ldpc the)
- 2013-11-18 21:07:58下载
- 积分:1
-
online
这个小程序可以实现窗口的创建以及同步接收和发送消息的功能。(WHEN YOU SEND MESSAGE TO OTHERS ,THEY WILL
CAN RECEIVE IT TIGHT NOW.)
- 2014-09-17 19:43:37下载
- 积分:1
-
GetEcgPpg
心电信号处理,滤波与计算 之:数据的读取(ECG signal processing, filtering and calculation of: reading data)
- 2014-09-10 19:53:11下载
- 积分:1
-
STFT
短时傅里叶变换的Matlab程序代码,短时傅里叶变换时最经典的时频分析方法(Matlab code short time Fourier transform, short-time Fourier transform of the most classic time-frequency analysis)
- 2014-03-01 19:48:13下载
- 积分:1
-
TimeZoneEditorSrc
In mid-2003, someone in the Lounge asked for a list of time zones. I said that I had one, but the data was in a CodeBase/FoxBase file. Chris Maunder asked if I could retrieve that data and submit it to CodeProject. After procrastinating a few weeks, I decided to go ahead and not only extract the data, but to write a program to edit that data.
- 2007-10-16 09:33:47下载
- 积分:1
-
RadarDataDisp
雷达数据显示与分析,包括雷达P显和E显两种方式,同时还可设置雷达量程、指定目标航迹数据显示等,该代码实用,值得参考。(Radar data and analysis, including radar and E P were significantly in two ways, but can also set the radar range, specify the target track data display, the code useful as reference.)
- 2020-11-17 15:29:39下载
- 积分:1
-
2.1
噪声信号中正弦信号的现代法频谱分析,在不同周期不同长度和不同信噪比下的结果(Sinusoidal signal in noise spectrum analysis of modern law, in different periods of different lengths and different signal to noise ratio results)
- 2011-11-23 10:23:18下载
- 积分:1