-
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
-
ImageCompressiontoAdvancedVideoCoding
This book discusses the growth of digital television technology and the revolution in image and video compression, highlighting the need for standardization in processing static and moving images and their exchange between computer systems
- 2007-09-08 19:02:05下载
- 积分:1
-
DEEC.matble
分簇协议的改进协议DEEC的matlab代码,绝对正确,大家可以下载试试,对学习WSN路由协议很有帮助。(Improved clustering protocol agreement DEEC matlab code, absolutely correct, you can download to try, to learn helpful WSN routing protocol.)
- 2014-01-20 17:29:25下载
- 积分:1
-
Programming-Matlab-and-CPP
Programming Matlab and C++,混合编程;经典教程;
- 2013-01-23 03:04:35下载
- 积分:1
-
chap12
MATLAB c++ 可以实在嵌入式的环境下联合编程。联合仿真(MATLAB c++ can be embedded in the environment is the joint programming. Co-simulation)
- 2011-05-09 10:06:35下载
- 积分:1
-
3
说明: IMPARARE IL C++ in 2 ore e mezzo?
Modulo-3
- 2015-03-10 23:13:52下载
- 积分:1
-
sv22
地震SV波的源代码,得出反射系数,透射系数,转换波的反射系数,透射系数等(SV wave seismic source code, come the reflection coefficient, transmission coefficient, reflection coefficient, transmission coefficient converted waves, etc.)
- 2014-01-01 20:59:22下载
- 积分:1
-
geneticOptimizationtheory
遗传算法算例及matlab源程序,对遗传算法入门研究及借鉴 大有益处(Matlab genetic algorithm and source code examples, Introduction to research on the genetic algorithm and draw great benefit)
- 2010-05-20 11:02:45下载
- 积分:1
-
yuandaima
matlab GUI界面程序设计源代码 对编界面的初学者十分有用(matlab GUI interface programming source code compiled interface is very useful for beginners)
- 2012-09-21 11:37:08下载
- 积分:1
-
61549842TDOA
It s very important I hope It could help you (It s very important I hope It could help you)
- 2008-12-25 14:58:49下载
- 积分:1