跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 应用

arXiv:2605.05099 (stat)
[提交于 2026年5月6日]

标题:Randompack: Cross-Platform Reproducible Random Number Generation and Distribution Sampling

作者:Kristján Jónasson
查看论文《Randompack: Cross-Platform Reproducible Random Number Generation and Distribution Sampling》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A C library for random number generation, Randompack, is presented. The library implements several modern random number generators (engines), including xoshiro256, PCG64, Philox, ranlux++, and sfc64; 14 continuous distributions including uniform, normal, exponential, gamma, beta, and multivariate normal; raw bit streams, bounded integers, permutations, and sampling without replacement. The engine and the distribution layers are separated so any engine can be used with any distribution. Benchmarks show that Randompack is faster overall than competing libraries, with speedup factors ranging from about 1 to 15 depending on engine, distribution, interface, and platform. A distinguishing feature is reproducibility: with the same seeds Randompack gives compatible results across programming languages, computers, CPU architectures, and compilers. The library includes comprehensive support for parallel simulation. It is accompanied by a comprehensive test suite, benchmarking programs, and example programs. Interfaces to Fortran, Python, Julia, and R have been implemented; their benchmark results are included, although their design and implementation are otherwise outside the scope of the article. Unlike other available C libraries with comparable scope, Randompack is permissively licensed under the MIT license, and it is open source and publicly available through GitHub and conda-forge.
评论: 19 pages
主题: 应用 (stat.AP); 数学软件 (cs.MS)
引用方式: arXiv:2605.05099 [stat.AP]
  (或者 arXiv:2605.05099v1 [stat.AP] 对于此版本)
  https://doi.org/10.48550/arXiv.2605.05099

提交历史

来自:Kristjan Jonasson
[v1] 2026年5月6日 星期三 16:35:08 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.AP
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-05
切换浏览方式为:
stat
cs.MS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站