登录
首页 » Visual C++ » Archive

Archive

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

  • entropy
    信息论中用matlab编程来计算熵,此程序可以修改输入的矩阵,进行新的计算(To calculate the entropy of information theory using Matlab programming, this program can modify the input matrix, a new calculation)
    2012-05-22 23:59:23下载
    积分:1
  • beam
    matlab 中梁的弯矩 剪力 变形 轴力图形 以及源程序(matlab in Beams Shear deformation and axial force graphic source)
    2013-11-11 13:42:29下载
    积分:1
  • Vega
    Vega相关资料,网上搜集并整理的,希望对初学者有所帮助。(Vega-related information, online collection and sorting, and want to help beginners.)
    2010-07-13 01:21:14下载
    积分:1
  • kmeans
    k means is a clustering program for partition and distinguishing a group of observation and recognition
    2013-04-07 17:36:38下载
    积分:1
  • direction-vario
    semivariogram structure function ,it is about 2D semivariogram.
    2012-05-07 22:05:40下载
    积分:1
  • code
    《visual c++matlab图像处理与识别实用案例精选》源码(" Visual c++ matlab image processing and recognition of practical cases selected" source)
    2010-05-19 14:43:42下载
    积分:1
  • matlab-code-of-sr
    运用matlab仿真随机共振 。哪有那么多的说明(failed to translate)
    2013-05-03 07:58:48下载
    积分:1
  • kalman-flitering-(CPP_C_MATLAB)
    卡尔曼滤波简介及其算法实现代码C++_C_MATLAB(kalman flitering)
    2012-05-24 16:02:07下载
    积分:1
  • lagrange
    用拉格朗日n次插值方法 对一系列离散点进行插值(N times with Lagrange interpolation method interpolates a series of discrete points)
    2015-01-25 20:02:44下载
    积分:1
  • Matlabsimulation
    通过M atlab 模拟了随机产生的一定概率分布的信号序列, 叠加高斯噪声后利用最大后验概率(MAP)检 测到的误码率, 做出BER~ SNR曲线, 并与理论计算得到的曲线进行比较, 两者吻合.(M atlab simulated by a certain probability distribution of random signal sequence, use of superposition of Gaussian noise is the maximum a posteriori (MAP) detection to the error rate, making BER ~ SNR curves obtained with the theoretical curve of the combined fit.)
    2010-12-05 09:51:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载