登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 248
下载积分: 1 下载次数: 2

代码说明:

  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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • EEG-LMS
    可以去除脑电中的50Hz工频干扰,同时可以剔除部分生理伪迹,如眼电、肌电伪迹。( can be removed the 50Hz frequency interference of EEG, and can eliminate part of the physiological artifacts such as EOG, EMG.)
    2015-10-14 19:18:39下载
    积分:1
  • Matlab-ytiao
    用编程软件matlab写的一个yy样条函数,参考(Matlab programming software to write with a yy spline function, reference)
    2011-10-08 13:35:56下载
    积分:1
  • PFC
    说明:  介绍了一种单级功率因数校正(PFC)变换器,重点讨论了变换器的主要设计。 关键词:变换器;单级功率因数校正;设计 (Introduced a single-stage power factor correction (PFC) converter, the main focus on the converter design. Key words: converter single-stage power factor correction Design)
    2011-04-01 09:19:20下载
    积分:1
  • MatlabCloser
    快速的关闭MATLAB figure窗口,快速的关闭MATLAB figure窗口,(MATLAB figure window closing fast, fast closing MATLAB figure window,)
    2011-05-03 21:48:49下载
    积分:1
  • super-acP
    accounts for all markets and shops username 1 password 1
    2014-10-11 18:34:44下载
    积分:1
  • Minpo
    蒙特卡洛 MCNP输入文件 包包括了各种单元选项卡可直接使用。 (Monte Carlo MCNP input file package includes a variety of cell tab can be used directly.)
    2012-07-27 13:06:08下载
    积分:1
  • IFFT64
    IFFT 基于matlab实现,可用于OFDM前导训练序列的生成(IFFT OFDM preamble training sequence can be used to generate based on matlab implementation)
    2013-03-26 19:41:20下载
    积分:1
  • cyclostationary_toolbox
    循环谱工具箱,包括二阶循环累积量,循环谱估计的FAM算法(Cyclic spectrum toolbox, including the second order cyclic cumulant, FAM algorithm for spectral estimation cycle)
    2020-10-10 00:17:34下载
    积分:1
  • MPSOtzipA
    有关MATLAB编程的粒子群群算法,有几个算例可直接使用。 (About MATLAB programming particle swarm swarm optimization, there are a few examples can be used directly.)
    2012-09-30 13:19:58下载
    积分:1
  • Accuracy-valuation-for-Matlab
    包括 基于MATLAB7.0 的NE(拉稀系数) RMSE MSE R2 等评价指标的计算编程程序(Including computing programming procedures of the NE, (diarrhea coefficient), RMSE, MSE and R2 .etc.based the MATLAB7.0)
    2012-09-03 03:39:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载