是否可以将 Alglib 与 Rcpp 一起使用? [英] Is it possible to use Alglib with Rcpp?
问题描述
我经常使用 Rcpp 代码将 C++ 代码合并到 R 中.通过 BH 包,我还可以使用 Boost 库.但是,Boost 库缺少我想使用的函数(准确地说,它只有 Bessel 函数,但由于溢出,我想立即获得 Log-Bessel).我知道 Alglib 确实有这个功能.
I often use Rcpp code to incorporate C++ code into R. Through the BH-package I am also able to use the Boost-library. However, the Boost library lacks a function that I would like to use (to be precise, it only has Bessel function but I would like to get Log-Bessel immediately because of overflow). I know that Alglib does have this feature.
是否可以将 Alglib 与 Rcpp 一起使用,即以某种方式使用 Alglib 的 log-bessel 函数?
Would it be possible to use Alglib with Rcpp, that is, use the log-bessel function from Alglib somehow?
推荐答案
我没有看到
因此,我认为您可以使用 BH 包 为您提供所有Boost Math 和一些.
As such, I think you can just use the BH package giving you all of Boost Math and then some.
最后但并非最不重要的是,CRAN 上有一个 包 bessel 由 R Core 成员编写,专注于特殊功能,因此您也可以从那里开始.
Last but not least there is a package bessel on CRAN written by the R Core member focusing on special functions so you could start from there too.
这篇关于是否可以将 Alglib 与 Rcpp 一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!