![cover image](https://wikiwandv2-19431.kxcdn.com/_next/image?url=https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Two_red_dice_01.svg/langzh-sg-640px-Two_red_dice_01.svg.png&w=640&q=50)
随机数生成
维基百科,自由的 encyclopedia
随机数生成器(Random number generator)是通过一些算法、物理讯号、环境噪音等来产生看起来似乎没有关联性的数列的方法或装置。丢硬币、丢骰子、洗牌就是生活上常见的随机数产生方式。
![Thumb image](http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Two_red_dice_01.svg/640px-Two_red_dice_01.svg.png)
大部分计算机上的伪随机数,并不是真正的随机数,只是重复的周期比较大的数列,是按一定的算法和种子值生成的。
另见
进阶阅读
- Donald Knuth. Chapter 3 – Random Numbers. The Art of Computer Programming. Vol. 2: Seminumerical algorithms 3. 1997.
- Kroese, D. P.; Taimre, T.; Botev, Z.I. Chapter 1 - Uniform Random Number Generation. Handbook of Monte Carlo Methods. New York: John Wiley & Sons. 2011: 772. ISBN 0-470-17793-4. 引文使用过时参数
coauthors
(帮助) - Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP. Chapter 7. Random Numbers. Numerical Recipes: The Art of Scientific Computing 3rd. New York: Cambridge University Press. 2007 [2012-12-29]. ISBN 978-0-521-88068-8. (原始内容存档于2011-08-11).
- NIST SP800-90A, B, C series on random number generation (页面存档备份,存于互联网档案馆)