-
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
-
CPPPPT
面向对象程序设计的优点表现在实现对现实世界客体的自然描述、可控制程序的复杂性、可增强程序的模块性、可提高程序的重用性和可改善程序的可维护性等方面。(The advantages of object-oriented program design performance in achieving a natural description of real world objects, and can control the complexity of the program, can enhance the module of the program, program would improve the reusability and maintainability can be improved, and so on.
)
- 2014-08-22 12:36:43下载
- 积分:1
-
VCMATLAB
这里是一些VC与matlab混合编程的最新技术资料。有些是介绍了在VC ++调用Matlab的常用方法及各自特点,还有一些是介绍VC与matlab混合编程的实例。(Here are some VC mixed with matlab programming information on the latest technologies. Some are introduced in VC++ calling Matlab common methods and their own characteristics, and some is to introduce the VC with the matlab programming examples of mixing.)
- 2010-01-24 18:58:50下载
- 积分:1
-
HFSS--UTD
HFSS/UTD混合法计算电大尺寸导体上的天线(HFSS/UTD hybrid method to calculate the antenna on a large conductor)
- 2013-11-28 09:12:45下载
- 积分:1
-
tanhaoqiang
谭浩强(第三版) 程序代码及习题答案.rar(Hao (third edition) program code and answer the questions. Rar)
- 2013-11-21 18:51:28下载
- 积分:1
-
RGB-HSI
在matlab中实现从rgb到hsi色彩模式的转换(In matlab to achieve from the rgb color model to HSI conversion)
- 2009-01-08 10:52:11下载
- 积分:1
-
DCT_liang
此代码是基于DCT的数字水印MATLAB编程,包括水印的置乱和反置乱,嵌入以及提取水印四个部分(This code is based on digital watermark DCT MATLAB programming, including the watermark scrambling scrambling and anti-, four-part watermark embedding and extraction)
- 2010-05-19 16:10:55下载
- 积分:1
-
untitled
求均值 方差 标准差 用matlab编写的 (Average variance standard deviation using matlab)
- 2012-08-14 16:24:32下载
- 积分:1
-
sousuosuanfa
深度优先搜索算法Matlab源码。。。。。
- 2010-08-20 21:35:13下载
- 积分:1
-
daima
一共5个代码,其中aufgabe和lms的功能是输入一个脉冲信号,根据不同的系统参数,得出输出信号。 cordic是一个算角度旋转的方法。 gray和graydecode是输入一个数字,对应输出每次只变一位的2进制输出信号。 因为我还是个学生,可能代码比较简单,希望站长谅解,谢谢!我真心希望能够成为该站的一员,学习到有用的知识。(A total of five codes, which aufgabe and lms function is a pulse input signal, depending on the system parameters, derived output signal. cordic is a rotation angle calculation method. gray and graydecode is to enter a number, corresponding to a time become an output of two binary output signals. Because I was a student, you may code for relatively simple hope that owners understand, thank you! I really hope to be a member of the station, to learn useful knowledge.)
- 2009-12-07 07:37:10下载
- 积分:1