加载中…
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 as independent uniform samples in a range , with or . In applications, it is instead sometimes desirable to draw random numbers as independent uniform samples in a range , where moreover M may change between drawings. Transforming the sequence to is sometimes known as scaling. We discuss different methods for scaling the RNG, both in term of mathematical efficiency and of computational speed.

生成讲解博客的中文版本

生成AI智能校验的中文版本