arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1304.1916cs.DSmath.PRphysics.comp-phphysics.data-an
收藏

硬币翻转的最优离散均匀生成及其应用

Optimal Discrete Uniform Generation from Coin Flips, and Applications

Jérémie Lumbroso

摘要:

本文介绍了一种从随机比特源中抽取给定大小范围内的随机离散均匀变量的算法。该算法的目标是简单的实现和最佳的方面消耗的随机位的数量,并从计算的角度-允许更快,更有效的蒙特卡罗模拟计算物理学和生物学。我还提供了一个详细的分析,每个变量花费的位数,并提供了一些扩展和应用,特别是最佳的随机生成的排列。

英文摘要:

This article introduces an algorithm to draw random discrete uniform variables within a given range of size n from a source of random bits. The algorithm aims to be simple to implement and optimal both with regards to the amount of random bits consumed, and from a computational perspective---allowing for faster and more efficient Monte-Carlo simulations in computational physics and biology. I also provide a detailed analysis of the number of bits that are spent per variate, and offer some extensions and applications, in particular to the optimal random generation of permutations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑