A new release of
is now on CRAN.
makes it easy to write highly efficient and highly readable C++ code for linear algebra (based
on Armadillo) in R extensions (using Rcpp for the interface).
This release upgrades the included Armadillo version to 0.9.52
(see here for Conrad’s high-level changes).
We had to make two minor tweaks. In the fastLm()
help page example we switched from inv() to pinv() below). We also needed a simple patch to permit building on win32 using the
older g++ version that is still the default for R (where win64 uses a g++ 4.5
snapshot). The patch removes the asinh, acosh, atanh functions on this
platform only, and we expect to revert this as soon as the default compiler
is upgraded. Conrad works with g++ 4.3 or newer and hadn't noticed this; it
also does not affect OS X with its g++ 4.2.* variant.
The short NEWS file extract follows:
0.2.4 2010-07-27 o Upgraded to Armadillo 0.9.52 'Monkey Wrench' o src/fastLm.cpp: Switch from inv() to pinv() as inv() now tests for singular matrices and warns and returns an empty matrix which stops the example fastLm() implementation on the manual page -- and while this is generally reasonably it makes sense here to continue which the Moore-Penrose pseudo-inverse allows us to do this