登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 212
下载积分: 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 个回复

  • matlab
    计算轴承生热程序,利用生热公式和matlab图形处理窗口,把生热界面显示出来(Calculate bearing heat procedures, the use of heat formula and matlab graphics processing window, the heat interface displayed)
    2013-05-15 10:33:25下载
    积分:1
  • surshrHEDA
    基于直方图的分布估计算法matlab源程序,测试函数选用的是30维函数(for h=1:m for j=1:((x2-x1)/binswidth) if (x(h)>=x1+(j-1)*binswidth)&(x(h)<x1+j*binswidth) H(j)=H(j)+1 end end end [wid,len]=size(H) H=H/(wid*len) objvalue=sort(objvalue, descend ) for j=1:((x2-x1)/binswidth))
    2013-03-15 10:44:15下载
    积分:1
  • Matlab7.0
    说明:  我找到的最好的MATLAB教程.目录详细,例子充分!(It s the best selflearning book I ve searched.)
    2010-04-08 11:45:59下载
    积分:1
  • SCON-
    SCON计算工具.rarSCON calculation tool. RarSCON calculation tool. RarSCON calculation tool. Rar(SCON calculation tool. RarSCON calculation tool. Rar)
    2013-12-12 22:06:54下载
    积分:1
  • fd1d_1.2
    一维情况下用FDTD方法模拟电磁波的传播情况,加了吸收边界条件,用C和MATLAB混合编程,信号源是高斯脉冲(One-Dimensional FDTD simulation with the propagation of electromagnetic waves, plus the absorbing boundary condition, mixed with the C and MATLAB programming, the signal source is a Gaussian pulse)
    2011-05-14 10:20:55下载
    积分:1
  • matlab-junheng
    均衡技术的matlab仿真。包括时域均衡和频域均衡后的信噪比对比(Equalization matlab simulation. Including time domain equalization and frequency domain equalization SNR comparison)
    2013-08-28 21:52:03下载
    积分:1
  • simple
    计算流体力学里常用的simple算法实现,尤其对不可压缩流体数值模拟。以库埃特流为例(Computational fluid dynamics in the simple algorithm used to achieve, especially for numerical simulation of incompressible fluid. Couette flow as an example to)
    2008-06-06 14:30:12下载
    积分:1
  • GeneralizedDimension_TS
    求混沌时间序列的广义维(genealized dimension) (Seeking generalized dimensional chaotic time series (genealized dimension))
    2015-03-18 16:34:32下载
    积分:1
  • matlabdianjifangzhen
    matlab电机仿真精华50部分模型包括第六节同步电机 异步电机和直流电机(matlab motor simulation of the essence 50-part model)
    2013-05-19 23:05:03下载
    积分:1
  • New-Text-Document
    matlab sar simulation
    2013-08-14 22:05:28下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载