RcppArmadillo 0.5.300.4.0

August 4, 2015
By

[This article was first published on Thinking inside the box , and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

armadillo image

A new Armadillo release 5.300.4 was prepared by Conrad the other day, and we prepared a new corresponding RcppArmadillo release 0.5.300.4.0 which is now on CRAN and in way into Debian.

Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab.

This release brings a considerable amount of new code extending support for sparse matrices, support for Schur decompositions, and much more as shown in the extract from NEWS file:

Changes in RcppArmadillo version 0.5.300.4 (2015-08-03)

  • Upgraded to Armadillo 5.300.4 ("Plutocrazy Incorporated")

    • added generalised Schur decomposition: qz()

    • added .has_inf() and .has_nan()

    • expanded interp1() to handle out-of-domain locations

    • expanded sparse matrix class with .set_imag() and .set_real()

    • expanded imag(), real() and conj() to handle sparse matrices

    • expanded diagmat(), reshape() and resize() to handle sparse matrices

    • faster sparse sum()

    • faster row-wise sum(), mean(), min(), max()

    • updated physical constants to NIST 2014 CODATA values

    • fixes for handling sparse submatrix views

    • Armadillo can make use of GPUs by linking with NVIDIA NVBLAS (a GPU-accelerated implementation of BLAS), or by linking with AMD ACML (which can use GPUs via OpenCL)

  • Added importFrom statements for R functions not from base

  • Added explicit Rcpp::sourceCpp() reference as well

  • Updated one formatting detail in vignette to please TeXlive2015

Courtesy of CRANberries, there is also a diffstat report for the most recent CRAN 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.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.

To leave a comment for the author, please follow the link and comment on their blog: Thinking inside the box .

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)