登录
首页 » Visual C++ » zipf-random

zipf-random

于 2013-06-27 发布 文件大小:4638KB
0 384
下载积分: 1 下载次数: 105

代码说明:

  随机数生成程序,该随机数呈zipf分布,就是大家常说对于内容的访问遵循80/20原则,也就是20 的内容,会占有80 的访问量。(Random number generator, the zipf was distributed random numbers, that is, we often say that the access to the content to follow the 80/20 principle, which is 20 of the content will occupy 80 of visits.)

文件列表:

zipf随机数生成
..............\zipf
..............\....\Debug
..............\....\.....\zipf.exe,36864,2012-02-13
..............\....\.....\zipf.ilk,370268,2012-02-13
..............\....\.....\zipf.pdb,560128,2012-02-13
..............\....\ipch
..............\....\....\zipf-4fe0b52a
..............\....\....\.............\zipf-d9abe485.ipch,14483456,2012-02-14
..............\....\zipf
..............\....\....\Debug
..............\....\....\.....\CL.read.1.tlog,9138,2012-02-13
..............\....\....\.....\CL.write.1.tlog,246,2012-02-13
..............\....\....\.....\link.read.1.tlog,2454,2012-02-13
..............\....\....\.....\link.write.1.tlog,438,2012-02-13
..............\....\....\.....\main.obj,47632,2012-02-13
..............\....\....\.....\mt.read.1.tlog,666,2012-02-13
..............\....\....\.....\mt.write.1.tlog,206,2012-02-13
..............\....\....\.....\vc100.idb,216064,2012-02-13
..............\....\....\.....\vc100.pdb,241664,2012-02-13
..............\....\....\.....\zipf.exe.intermediate.manifest,381,2012-02-13
..............\....\....\.....\zipf.lastbuildstate,62,2012-02-13
..............\....\....\.....\zipf.log,2037,2012-02-13
..............\....\....\main.cpp,1199,2012-02-13
..............\....\....\zipf.vcxproj,3218,2012-02-13
..............\....\....\zipf.vcxproj.filters,953,2012-02-13
..............\....\....\zipf.vcxproj.user,143,2012-02-13
..............\....\zipf.sdf,6115328,2012-02-14
..............\....\zipf.sln,879,2012-02-13

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

发表评论

0 个回复

  • C
    说明:  含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。(Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures)
    2016-07-01 08:32:22下载
    积分:1
  • R-K
    四阶龙格库塔法,用C++编写,很有参考价值(Fourth-order Runge-Kutta method, written in C, a good reference)
    2011-12-29 20:44:34下载
    积分:1
  • 1
    本书用c语言编写了科研和工程中最常用的166个算法,这些算法包括复数 运算、... 4.3.1 【算法23】求一般复矩阵的逆 4.3.2 【算法24】求对称正定矩阵的(good study)
    2013-11-06 21:28:17下载
    积分:1
  • simple
    流体力学SIMPLE算法(C语言编程实现)需自己设定边界条件(SIMPLE algorithm)
    2013-09-06 19:00:42下载
    积分:1
  • jiadianji
    基于vc++6.0的佳点集遗传算法的编程,里面的各项参数均可由使用者自我调整!(Vc++6.0 based on the good point set genetic algorithm programming, which the parameters can be adjusted by the users themselves!)
    2010-11-29 14:44:35下载
    积分:1
  • gsl1.8
    GNU Scientific Library (GSL) 是一个用于科学计算的 C 语言类库。有超过1000个函数。 (GNU Scientific Library (GSL) is a C language library for scientific computing. There are more than 1000 functions.)
    2013-04-23 10:51:50下载
    积分:1
  • FEM-of-four-bar-truss-structures
    四杆桁架结构的有限元分析程序,在VS2008软件中使用C++语言编写,输入为四杆桁架结构的节点坐标,材料参数,边界条件,输出为各节点的应力和应变。(Four-bar truss structure finite element analysis program, the use of C++ written in VS2008 software, input node coordinate the four-bar truss structure, material parameters, boundary conditions, the output of the stress and strain of each node.)
    2015-06-22 10:03:42下载
    积分:1
  • 1
    说明:  Fractal分形,简短的代码,清晰可用(Fractal)
    2010-09-22 18:49:09下载
    积分:1
  • matrix-multiplication-and-inverse
    这是用C++做矩阵求逆和矩阵相乘,可以解简的线性方程。已验证,互相交流~(This is done using C++ matrix inversion and matrix multiplication, linear equations can be solved。)
    2014-03-25 11:24:24下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载