- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Rando Number Generators Mathematics Department …随机数发生器数学系—…
Random Number Generators Random Number Generators Based upon specific mathematical algorithms Which are repeatable and sequential Random Truly Random Exhibiting true randomness Pseudorandom Appearance of randomness but having a specific repeatable pattern Quasi-random Having a set of non-random numbers in a randomized order Problems Difficult to isolate Often need to replace current generator Require Knowledge of current generator Sometimes in-depth understanding of random number generators themselves Large scale tests cause most problems Needing sometimes millions or billions of random numbers Desirable Properties When performing Monte Carlo Simulations Attributes of each particle should be independent of those attributes of any other particle Fill the entire attribute space in a manner which is consistent with the physics Random Number Cycle Basis sequence of pseudorandom integers Some exceptions Integers (“Fixed”) Manipulated arithmetically to yield floating point (“real”) Can be presented in either Integer or Real numbers Cycle What Does This Show Us? Properties of pseudorandom sequences of integers The sequence has a finite number of integers The sequence gets traversed in a particular order The sequence repeats if the period of the generator is exceeded LCG Most commonly used RNG Linear Congruential Generator Requires initial “seed” denoted as X0 Appears random because of Modulo function Next “random” number depends heavily on previous X Typical of linear, congruential generators Restricts period Equations - LCG Using LCG Choosing Correct Input is Key LCG (a,c,m,X0) LCG (5, 1, 16, 1) Yields – 1,6,15,12,13,2,11,8,9,14,7,4,5,10,3,0, 1,6,15,12,13,2,11,8,9,14,… When the next result depends upon only the previous integer, the longest period possible is P=M Odd/Even pattern lack of randomness results from using a power of two for M Cycle LCG(5,1,16,1) Table Example #2 LCG(5,0,16,1) Yields - 1,5,9,13,1,5,9,13,… M is a power of 2 (here: 2^4) C=0 Maximum period
您可能关注的文档
- passag 3 a lot of rubbish自考本科英美报刊.doc
- Pauli xclusion Principle Christian Brothers University泡利不相容原理基督教兄弟大学.ppt
- Part of childless woman in percent 2 – 24 years old Free在百分之20–24岁没有孩子的女人,部分自由.doc
- PC302结项总结报告V1.doc
- Parts ofSimilar Triangles District 158 — Inspire 部分相似三角形 158区激发.ppt
- Octobr 9, 2003 A Hierarchical Method for Aligning Warped Meshes2003年10月9日调整扭曲的网格层次方法.ppt
- Pep 2 Unit 6 At he Zoo Part A 说课教案.doc
- p06小地控制测量.ppt
- Payroll Liabilities MultiPeriod Known Liabilities McGrawHll 工资负债多期已知负债麦格劳山.ppt
- pep五年上材介绍.ppt
- QC新大工具.ppt
- Random Dispersal in Theoretical Popultions在随机种群扩散理论.ppt
- Random Number Generator Department o Computer 随机数发生器计算机系.ppt
- Random Field Theory Wellcome Trust Centre for euroimaging影像学威康信托中心的随机场理论.ppt
- Random Access Memory Anadolu Universitesi Kisisel Web 随机存取存储器,该Universitesi kisisel网站.ppt
- R33标格式油箱检测台说明书.doc
- Random slope About eopletamuedu随机斜率约peopletamuedu.ppt
- Random Variables One of the Bet Catholic Colleges 随机变量的一个最好的天主教大学.ppt
- Radioactive Waste Disposal i HydrologicallyChallenged 在水文挑战放射性废物处置.ppt
- Random Walk Defiition Boston University随机游走的定义波士顿大学.ppt
文档评论(0)