登录
首页 » Visual C++ » Complex_operator_overloading

Complex_operator_overloading

于 2012-09-08 发布 文件大小:1KB
0 232
下载积分: 1 下载次数: 3

代码说明:

  新建复数类进行复数运算,重载+、=+、*、/等运算符用于复数间的运算。(New complex class complex operation, overloading+ =+,*,/operator for computing the plural.)

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

发表评论

0 个回复

  • cpml
    三维PML-FDTD的C语言代码,完全匹配层的C语言实现(3D PML-FDTD in the C language code, perfectly matched layer in C language)
    2010-06-11 14:28:04下载
    积分:1
  • 1
    说明:  本书用c语言编写了科研和工程中最常用的166个算法,这些算法包括复数 运算、... 4.3.1 【算法23】求一般复矩阵的逆 4.3.2 【算法24】求对称正定矩阵的(good study)
    2013-11-06 21:28:17下载
    积分:1
  • wedg140
    fortran程序,计算应力强度因子和特征值和特征向量,研究多种材料接触(fortran program)
    2014-09-22 10:47:40下载
    积分:1
  • Euler_DG_Quadrilateral_2D
    自己写了一个二维Euler方程的间断有限元程序 上次发了一个三角形单元的程序 因为不是曲边单元 所以在圆柱后面容易形成涡 现在把程序改为曲边四边形单元了 没有涡出现 单元是8节点四边形单元 节点编号顺序是 1 5 2 6 3 7 4 8 也就是四个角点依次 是1 2 3 4 然后是边的中点编号 5 6 7 8. 时间推进采用 Runge-Kutta 方法 数值通量采用全局Lax-Friedrichs通量 仍然不能捕捉激波 因为没有做重构或者加人工粘性 等这个做出来了 再发一次。 程序没有进行优化 比如说内存的消耗没有优化 比如直边单元的边界积分仍然采 用了曲边的积分方法 增加了计算量 比如面积分、线积分都是采用的是Gauss- Legendre-Lobatto积分 积分精度会比一般的Gauss-Legendre积分精度低一阶 等 等问题。 二维的 纯属交流性质 就没有考虑这些问题 ^_^ 如果物面全部是直边 那么只要改变一个参数N 就可以获得不同的计算精度 且具 有谱精度 因为单元的节点是Gauss-Legendre-Lobatto积分点。 其实就是谱元法 (物面是曲边的情况我不清楚是不是也可以通过提高基函数的阶数 也就是增加N 来提高计算精度)(Wrote a two-dimensional Euler equations with discontinuous finite element program Last made ​ ​ a triangular element of the program, not curved edge unit is so easy to form a vortex in the cylinder behind the Program to curved edge quadrilateral element vortices appear Unit is the order of 8-node quadrilateral element node number is 15,263,748 which is the four corners of the points in turn Is 1234 and then the side of the midpoint of the number 5678. Time promote the use of Runge-Kutta method Numerical flux of the overall situation of Lax-Friedrichs, flux Still can not capture the shock wave did not do the reconstruction or artificial viscosity do it Zaifayici. The program is not optimized for example, memory consumption is not optimized such as straight-edge boundary integral of the unit is still mining Integral method to increase the amount of computation such as surface integral with a curved edge, the line integral using the Gauss- The Legendr)
    2021-01-29 12:58:40下载
    积分:1
  • Random-Forest-for-Image-Annotation
    随机森林算法,适合初学者阅读,包括公式,资料,调试(Random forests algorithm, suitable for beginners to read, including formulas, data, commissioning)
    2020-06-29 22:40:02下载
    积分:1
  • polynomial_multiplication
    实现多项式相乘求模运算,并且模多项式是可以改变的,方便,简单(To achieve polynomial multiplication modulo operation, and polynomial model can be changed, convenient and simple)
    2010-06-25 21:11:57下载
    积分:1
  • aphysicaltool
    用于计算大物实验中常用的平均值和不确定度。(a simple tool to calculate average of input values.)
    2015-01-16 17:01:29下载
    积分:1
  • srfft
    计算复序列的分裂基快速傅里叶变换,分裂基快速算法是将基2和基4分解组合而成。在基2M类快速算法中,分裂基算法具有最少的运算量,且仍保留结构规则、原位计算等优点。(Calculate complex sequence of split radix fast Fourier transform, fast algorithm is to split the base base 2 and base 4 decomposition combination. 2M fast algorithm in the base class, the split-based algorithm has the least amount of computation and structural rules remain in situ calculation and so on.)
    2013-05-23 19:56:04下载
    积分:1
  • FFT4
    计算按频率抽取的基4快速傅里叶变换算法,与基2FFT相比,基4FFT的乘法量约减少25 。(Calculating frequency taken by fast Fourier transform algorithm base 4, compared with the base 2FFT the base 4FFT multiplication about 25 less.)
    2020-11-22 11:29:35下载
    积分:1
  • Gauss
    数值分析中用C 语言验证验证Gauss列主元消去法。(Numerical analysis using the C language to verify verify the Gauss column principal component elimination.)
    2013-03-25 21:11:32下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载