-
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
-
ACCaar_DOF2u
汽车操作动力学的简化2自由度模型,使用MMatlab实现。能实现对汽车的动力学仿真
(Automotive operating dynamics of simplified two degree of freedom model, use MMatlab. Dynamics simulation of car)
- 2012-10-03 00:03:30下载
- 积分:1
-
ShowProcessList
显示进程列表,PID等相关信息,是初识windows进程编程的好材料(list shows the process, PID, and other relevant information, recognize the windows of the programming process good materials)
- 2007-06-05 00:23:23下载
- 积分:1
-
TP1_CHEN
建立关于分数的类,并进行加减乘除等相关运算的C++代码
(Establishment of the scores of the class, and other related operations of addition, subtraction C++ code)
- 2015-02-28 01:43:45下载
- 积分:1
-
Mini-Sumo-3.2-Line-Sensor-Read
This code for Embedded for Sumo Bot (sensor)
- 2015-03-22 13:23:16下载
- 积分:1
-
xunhuanma
循环码的编码译码,以7,3循环码为例,有简单的文字提示(Cyclic code encoding decoding)
- 2009-12-20 19:06:07下载
- 积分:1
-
7
说明: matlab高效编程程序源代码第七章,可以运行。(efficient programming source code matlab Chapter VII, to run.)
- 2011-04-10 15:34:15下载
- 积分:1
-
Tcontrolh
这是我在用matlab仿真时发发现的一个很有用的程序可直接使用。
(This is a useful program that I found in simulation using matlab can be used directly.)
- 2012-09-15 22:23:14下载
- 积分:1
-
vcthesis
该系统实现粗糙集合中的分辨矩阵与分辨函数的约简方法,该方法可以求出信息系统的属性约简(the system to achieve the rough set to distinguish function matrix and tell about Jane, The method can be used to find information system attribute reduction)
- 2007-06-16 20:59:02下载
- 积分:1
-
vb
说明: 是matlab中对bp理论的源代码 通过此代码 只需输入原始数据 通过计算可以得到 预期的输出结论(the cold for matlab)
- 2013-12-19 19:28:44下载
- 积分:1