norm()
(and related) functions,
and fixes related to matrix and cube interactions. From our end, we added a better
detection of Windows via both _WIN32
and WIN32
(as the former
apparently gets undefined by MinGW in C++11 mode). We also added the ability to turn on C++11
support from R (possible since R 3.1.0) yet also turn it off for Armadillo. This is needed as
the prescribed compiler on Windows is g++ 4.6.2 -- which offers a subset of C++11 which is
good enough for a number of things from the C++11 standard, but not advanced enough for
everything which Armadillo uses when C++11 support is turned on. As
Armadillo continues to offer a choice of C++ standards, we can use the ability to deploy C++11
only outside of its internals. It is worth repeating that this issue should only affect
Windows users wishing to use C++11; other platforms are fine as they generally have more
modern compilers.
Courtesy of CRANberries, there is also a diffstat report for the most recent release As always, more detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.Changes in RcppArmadillo version 0.4.300.8.0 (2014-05-31)
Upgraded to Armadillo release Version 4.300.8 (Medieval Cornea Scraper)
More robust
norm
-related functionsFixes between interactions between
cube
andvector
types.Adds a
#define ARMA_DONT_USE_CXX11
to provide an option to turn C++11 off for Armadillo (but client packages may still use it)More robust Windows detection by using
_WIN32
as well asWIN32
as the latter gets diabled by MinGW with C++11On Windows, C++11 can be turned off as the Armadillo code base uses more features of C++11 than g++ 4.6.2 version in Rtools implements
Changes in RcppArmadillo version 0.4.300.5.0 (2014-05-19)
Upgraded to Armadillo release Version 4.300.5 (Medieval Cornea Scraper)
Handle possible underflows and overflows in
norm()
,normalise()
,norm_dot()
Fix for handling of null vectors by
norm_dot()
Changes in RcppArmadillo version 0.4.300.2.0 (2014-05-13)
Upgraded to Armadillo release Version 4.300.2 (Medieval Cornea Scraper)
faster
find()
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.