Publications by R on Ralf Stubner
RcppArrayFire v0.1.0: Sparse Matrices and support for Mac OS
The RcppArrayFire package provides an interface from R to and from the ArrayFire library, an open source library that can make use of GPUs and other hardware accelerators via CUDA or OpenCL. In order to use RcppArrayFire you will need the ArrayFire library and header files which you can build from source or use up-stream’s binary installer. See...
2327 sym R (394 sym/2 pcs)
Numerical integration over an infinite interval in Rcpp
On Stack Overflow the question was asked how to numerically integrate a function over a infinite range in Rcpp, e.g. by using RcppNumerical. As an example, the integral \[ \int_{-\infty}^{\infty} \mathrm{d}x \exp\left(-\frac{(x-\mu)^4}{2}\right) \] was given. Using RcppNumerical is straight forward. One defines a class that extends Numer::Func f...
3007 sym R (3483 sym/8 pcs) 2 img
Numerical integration over an infinite interval in Rcpp
On Stack Overflow the question was asked how to numerically integrate a function over a infinite range in Rcpp, e.g. by using RcppNumerical. As an example, the integral \[ \int_{-\infty}^{\infty} \mathrm{d}x \exp\left(-\frac{(x-\mu)^4}{2}\right) \] was given. Using RcppNumerical is straight forward. One defines a class that extends Numer::Func f...
3007 sym R (3483 sym/8 pcs) 2 img
swephR v0.2.0
This morning swephR version 0.2.0 made it unto CRAN and is now propagating to the mirrors. The goal of swephR is to provide an R interface to the Swiss Ephemeris, a high precision ephemeris based upon the DE431 ephemeris from NASA’s JPL. It covers the time range 13201 BCE to 17191 CE. The new version 0.2.0 brings two important changes. First, t...
2174 sym
swephR v0.2.1
This morning swephR version 0.2.1 made it unto CRAN and is now propagating to the mirrors. The goal of swephR is to provide an R interface to the Swiss Ephemeris, a high precision ephemeris based upon the DE431 ephemeris from NASA’s JPL. It covers the time range 13201 BCE to 17191 CE. This new version comes closely after last week’s release a...
1103 sym
Numerical integration over an infinite interval in Rcpp (part 2)
In a previous post I have shown that without intervention RcppNumerical does not handle integration over infinite ranges. In this post I want to generalize the method to integrals where only one of the limits is infinite. In addition, I want to make it more user friendly, since I would like to write something like // [[Rcpp::depends(RcppEigen)]] ...
2472 sym R (3050 sym/5 pcs)
XY problems
The so called XY problem is a classical situation on Q&A sites such as stackoverflow. While answering a recent question there I thought to have spotted such a case and addressed the actual problem. As it turns out, I had stopped to early when going for the root cause. The question asker wanted to speed up the evaluation of pmax(x, 0) for an integ...
2669 sym R (1266 sym/4 pcs) 4 img 2 tbl
tikzDevice v0.12.3
Yesterday tikzDevice version 0.12.3 made it unto CRAN and is now propagating to the mirrors. The tikzDevice package provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a paper typeset by LaTeX, these blocks are...
1491 sym
swephR v0.3.0
This afternoon swephR version 0.3.0 made it unto CRAN and is now propagating to the mirrors. The goal of swephR is to provide an R interface to the Swiss Ephemeris (SE), a high precision ephemeris based upon the DE431 ephemeris from NASA’s JPL. It covers the time range 13201 BCE to 17191 CE. This new version comes with two important changes. Fi...
1420 sym
dqrng v0.3.0
Today dqrng version 0.3.0 made it unto CRAN and is now propagating to the mirrors. This release contains a breaking change: The initial state of dqrng’s RNG is based on R’s RNG, which used to advance R’s RNG state. The implementation has been changed to preserve R’s RNG state, which is less surprising but can change the outcome of current...
1081 sym