<div dir="ltr">Hi,<div><br></div><div>Check also the Bessel package from Martin M.,  <a href="https://cran.r-project.org/web/packages/Bessel/index.html">https://cran.r-project.org/web/packages/Bessel/index.html</a></div><div>It wraps some C code; maybe a C++ interface wouldn't be too hard to write. There's also the GSL package apparently.</div><div><br></div><div>Cheers,</div><div><br></div><div>baptiste</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 March 2016 at 13:20, Hoang Nguyen <span dir="ltr"><<a href="mailto:hoang.nguyen@uc3m.es" target="_blank">hoang.nguyen@uc3m.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thank Dirk,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I check Boost and they only have the Modified Bessel Functions of the First and Second Kinds. I have to read more to find how to derive the third kind.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Best regards.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 1:17 AM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
PS Looks like Boost has Bessel functions:<br>
<br>
   <a href="http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/bessel/bessel_over.html" rel="noreferrer" target="_blank">http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/bessel/bessel_over.html</a><br>
<br>
So maybe try that.  We should have access to that in the BH package.<br>
<span><font color="#888888"><br>
Dirk<br>
</font></span><div><div><br>
--<br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br></blockquote></div><br></div>