计算机科学 > 信息论
[提交于 2010年12月20日 (v1),最后修订于 2018年9月27日 (此版本, v2)]
标题:Bit recycling for scaling random number generators
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Many Random Number Generators (RNG) are available nowadays; they are divided in two categories, hardware RNG, that provide "true" random numbers, and algorithmic RNG, that generate pseudo random numbers (PRNG). Both types usually generate random numbers $(X_n)$ as independent uniform samples in a range $0,\cdots,2^{b-1}$, with $b = 8, 16, 32$ or $b = 64$. In applications, it is instead sometimes desirable to draw random numbers as independent uniform samples $(Y_n)$ in a range $1, \cdots, M$, where moreover M may change between drawings. Transforming the sequence $(X_n)$ to $(Y_n)$ is sometimes known as scaling. We discuss different methods for scaling the RNG, both in term of mathematical efficiency and of computational speed.
提交历史
来自:Andrea Carlo Giuseppe Mennucci[v1] 2010年12月20日 星期一 11:27:57 UTC (2,771 KB)
[v2] 2018年9月27日 星期四 12:36:38 UTC (2,779 KB)