-
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
-
变尺度法
变尺度法的源程序,用于优化中的非线性规划,效还可以的。(variable scale method of the source for the optimization of nonlinear programming, the effect can be.)
- 2005-04-01 12:46:49下载
- 积分:1
-
3weiinitial
基于粒子群算法的一点个人的研究,希望与大家共同进步 (Particle swarm optimization based on a personal research, hope and progress together)
- 2011-01-04 19:42:52下载
- 积分:1
-
boost
boot pv close loop pi controller
- 2013-10-19 17:50:00下载
- 积分:1
-
MPhyysioNet_EI
MIT心电数据库读取程序源码 MIT的格式不能直接在MATLAB上使使用 通过此程序源码转换成能直接应用在MATLAB上的格式 可直接使用。
(MIT ECG database reads the program source MIT' s format can not be converted to make use of this program source code can be applied directly in MATLAB format can be directly used directly in MATLAB.)
- 2012-06-11 19:53:41下载
- 积分:1
-
amtci
AMT CODE FOR RECEIVERS
- 2010-02-17 02:06:35下载
- 积分:1
-
pt_line
固高控制卡程序,pt控制方式,需要的可以下载看看.(Googol control card program)
- 2013-12-01 21:58:24下载
- 积分:1
-
BoxDimension_TS
求混沌时间序列的盒子维(box dimension)覆盖法(Seeking chaotic time series box dimensions (box dimension) covering method)
- 2015-03-18 16:33:47下载
- 积分:1
-
fanuc18imb
fanuc 18ib cnc system backup
- 2015-02-20 03:11:15下载
- 积分:1
-
xitongfenxi
09系分习题与解答,适合系统分析人员的学习资料和技术文档(Exercises and answers to sub-09 system is suitable for systematic analysis of the learning materials and technical documentation)
- 2010-03-05 13:24:08下载
- 积分:1