-
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
-
power-system-load-flow
基于Matlab的电力系统潮流编程计算,简洁实用,电力系统专业(the program of power system load flow)
- 2012-04-18 14:50:59下载
- 积分:1
-
05640848
关于雷电系统设计的资料,对设计雷电定位系统有参考价值(About lightning system design information on the design of lightning location system have reference value)
- 2013-10-27 20:59:07下载
- 积分:1
-
amtf
matlab仿真源代码,AM源程序,用matlab运行(matlab simulation source code, AM source, using matlab to run)
- 2008-05-20 16:42:42下载
- 积分:1
-
GLMetaseq.h
让ARToolKit支持MQO模型的必须头文件,GLMetaseq.h(Let ARToolKit support MQO model must header files, GLMetaseq.h)
- 2014-02-09 23:10:11下载
- 积分:1
-
MPCController
基于模型预测控制算法的matlab控制器设计通用方法,matlab程序(matlab controller design coding ,generic)
- 2013-04-06 13:50:11下载
- 积分:1
-
MatlabAlgors
陆吾生有关凸优化视频教程中的相应的子函数,包括牛顿法等(convex optimization)
- 2011-01-25 17:34:29下载
- 积分:1
-
matlab-RLSaLMS
自适应信号处理中LMS算法和RLS算法的比较仿真(Adaptive signal processing in the LMS algorithm and RLS Algorithms Simulation)
- 2011-06-20 16:38:17下载
- 积分:1
-
PatternsofEnterpriseapplicationrchitecture
Patterns of Enterprise application architecture
- 2007-12-11 12:52:16下载
- 积分:1
-
LogOn(1)
好用的程序,多去查资料,你会有很大的收获(good)
- 2010-01-12 16:10:49下载
- 积分:1