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

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

统计学 > 计算

arXiv:1702.08188 (stat)
[提交于 2017年2月27日]

标题:dotCall64: An Efficient Interface to Compiled C/C++ and Fortran Code Supporting Long Vectors

作者:Florian Gerber, Kaspar Mösinger, Reinhard Furrer
查看论文《dotCall64: An Efficient Interface to Compiled C/C++ and Fortran Code Supporting Long Vectors》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The R functions .C() and .Fortran() can be used to call compiled C/C++ and Fortran code from R. This so-called foreign function interface is convenient, since it does not require any interactions with the C API of R. However, it does not support long vectors (i.e., vectors of more than 2^31 elements). To overcome this limitation, the R package dotCall64 provides .C64(), which can be used to call compiled C/C++ and Fortran functions. It transparently supports long vectors and does the necessary castings to pass numeric R vectors to 64-bit integer arguments of the compiled code. Moreover, .C64() features a mechanism to avoid unnecessary copies of function arguments, making it efficient in terms of speed and memory usage.
评论: 17 pages
主题: 计算 (stat.CO)
引用方式: arXiv:1702.08188 [stat.CO]
  (或者 arXiv:1702.08188v1 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.1702.08188
期刊参考: SoftwareX, 7, 217-221, 2018
相关 DOI: https://doi.org/10.1016/j.softx.2018.06.002

提交历史

来自:Florian Gerber
[v1] 2017年2月27日 星期一 08:42:49 UTC
全文链接:

访问论文:

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

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2017-02
切换浏览方式为:
stat

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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