![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-hk-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 (頁面存檔備份,存於互聯網檔案館)