-
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
-
LSPM_0.1-0.tar
Leverage Space Portfolio Model
- 2010-05-14 12:00:22下载
- 积分:1
-
APcluster
apclustering完整程序代码,供大家参考学习(apclustering complete program code, for your reference learning)
- 2013-02-19 16:15:53下载
- 积分:1
-
homotopy
homotopy算法求解非线性方程组 (homotopy method for solving nonlinear equations)
- 2016-04-16 17:26:16下载
- 积分:1
-
KEiVvykP
matlab程序中图形处理解析 关于图形处理的各种方法(matlab process graphics processing on graphics processing to resolve the various methods)
- 2008-06-18 16:00:49下载
- 积分:1
-
06310047
Quantitative Image Recovery From Measured Blind
Backscattered Data Using a Globally
Convergent Inverse Method
- 2013-07-09 10:01:04下载
- 积分:1
-
Pviterbi_encor
经过验证的维特比编译码MATLLAB程序,每行代码都有详细的备注
(Proven Viterbi than the codec MATLLAB program, each line of code to have detailed notes)
- 2012-08-16 06:34:29下载
- 积分:1
-
loadflow_NR-method
load flow analysis by newton raphson method
- 2012-02-05 11:07:25下载
- 积分:1
-
teshuhanshu
特殊函数生成的matlab程序,可作为数值分析等的学习工具。(Matlab program, generated by the special function can be used as numerical analysis , such as learning tools.)
- 2012-04-13 16:44:57下载
- 积分:1
-
14
说明: MATLAB,从入门到精通,经典教材。PDF,高清版,有很多实例。(MATLAB, entry to the proficient, classic textbook.)
- 2014-10-27 16:32:50下载
- 积分:1