-
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
-
Desvirus
Traz de volta os arquivos ocultos e potegidos do sistema dentro de um diretorio especifico
- 2014-11-08 04:12:42下载
- 积分:1
-
component
c++通用技能编码能力提升:组件安装管理程序,已测试。(c++ generic skills coding capacity building: Component Installation Manager has been tested.)
- 2013-10-01 15:50:55下载
- 积分:1
-
cppmath_ug2b
Matlab C++ Math Library
- 2011-11-14 19:34:34下载
- 积分:1
-
Red-Object-Detection
Red object Detection seample
- 2015-04-10 02:44:31下载
- 积分:1
-
The-coding-principle-of-courseware-
详细介绍了编码原理的基础知识,是编程的入门级必备教材(Details the basics of coding theory, is an essential textbook entry-level programming)
- 2013-12-23 19:20:12下载
- 积分:1
-
facegui
reconocimiento de rostros
- 2011-07-16 01:56:04下载
- 积分:1
-
ypz
遗传算法的概念最早是由Bagley J.D在1967年提出的;而开始遗传算法的理论和方法的系统性研究的是1975年,这一开创性工作是由Michigan大学的J.H.Holland所实行。当时,其主要目的是说明自然和人工系统的自适应过程。
(The concept of genetic algorithm by the Bagley JD was first proposed in 1967 and start method of genetic algorithm theory and systematic research in 1975, this pioneering work is undertaken by the University of Michigan JHHolland the practice. At that time, its main purpose is to describe the natural and artificial adaptive process.)
- 2010-12-21 11:12:01下载
- 积分:1
-
matlab-handbook
本书对于MATLAB7给予实践性指导(Book to give practical guidance for MATLAB7)
- 2011-06-19 21:41:03下载
- 积分:1
-
hilbert
hilbert变换的程序,输入一个时间序列,既可以得到希尔伯特变换之后的复信号,输出结果是复信号(hilbert transformation)
- 2013-05-15 11:09:02下载
- 积分:1