Sat, 08 Jan 2011

RcppArmadillo 0.2.11

Just before Xmas, Conrad Sanderson released version 1.1.0 of Armadillo, his templated C++ library for linear algebra. Which I only noticed this week, so here comes version 0.2.11 of RcppArmadillo, our Rcpp-based integration into R.

The only other change is the addition of an unexported function SHLIB which can be used to compiled a single source file into a loadable shared library file for R, while automagically find Rcpp and RcppArmadillo headers and the Rcpp library.

The short NEWS file extract follows, also containing Conrad's entry for 1.1.0:

0.2.11  2011-01-06

    o   Upgraded to Armadillo Version 1.1.0   “Climate Vandal”

         * Extended submatrix views, including access to elements whose
           indices are specified in a separate vector
         * Added handling of raw binary files by save/load functions
         * Added cumsum()
         * Added interpretation of matrices as triangular via
           trimatu()/trimatl() 
         * Faster solve(), inv() via explicit handling of triangular matrices 
         * The stream for logging of errors and warnings can now be changed 

    o   New unexported R function SHLIB, a small wrapper around R CMD SHLIB,
        which can be used as   Rscript -e "RcppArmadillo:::SHLIB('foo.cpp')"

And courtesy of CRANberries, here is the diff to the previous release 0.2.10:
 ChangeLog                                               |   17 
 DESCRIPTION                                             |   12 
 R/SHLIB.R                                               |only
 inst/NEWS                                               |   13 
 inst/doc/Makefile                                       |    5 
 inst/doc/RcppArmadillo-unitTests.pdf                    |binary
 inst/doc/unitTests-results/RcppArmadillo-unitTests.html |   16 
 inst/doc/unitTests-results/RcppArmadillo-unitTests.txt  |   34 
 inst/include/armadillo                                  |    9 
 inst/include/armadillo_bits/Col_meat.hpp                |   25 
 inst/include/armadillo_bits/Col_proto.hpp               |    5 
 inst/include/armadillo_bits/Cube_meat.hpp               |   54 +
 inst/include/armadillo_bits/Cube_proto.hpp              |    7 
 inst/include/armadillo_bits/Mat_meat.hpp                |  469 ++++++++++++
 inst/include/armadillo_bits/Mat_proto.hpp               |   54 +
 inst/include/armadillo_bits/Proxy.hpp                   |   63 +
 inst/include/armadillo_bits/Row_meat.hpp                |   25 
 inst/include/armadillo_bits/Row_proto.hpp               |    3 
 inst/include/armadillo_bits/arma_version.hpp            |   11 
 inst/include/armadillo_bits/auxlib_meat.hpp             |  102 ++
 inst/include/armadillo_bits/auxlib_proto.hpp            |   13 
 inst/include/armadillo_bits/debug.hpp                   |  101 +-
 inst/include/armadillo_bits/diskio_meat.hpp             |  280 +++++++
 inst/include/armadillo_bits/diskio_proto.hpp            |    9 
 inst/include/armadillo_bits/field_meat.hpp              |   23 
 inst/include/armadillo_bits/field_proto.hpp             |    3 
 inst/include/armadillo_bits/fn_cumsum.hpp               |only
 inst/include/armadillo_bits/fn_dot.hpp                  |   66 +
 inst/include/armadillo_bits/fn_elem.hpp                 |only
 inst/include/armadillo_bits/fn_inv.hpp                  |   27 
 inst/include/armadillo_bits/fn_max.hpp                  |   17 
 inst/include/armadillo_bits/fn_mean.hpp                 |   17 
 inst/include/armadillo_bits/fn_median.hpp               |   15 
 inst/include/armadillo_bits/fn_min.hpp                  |   21 
 inst/include/armadillo_bits/fn_misc.hpp                 |  604 ----------------
 inst/include/armadillo_bits/fn_prod.hpp                 |   15 
 inst/include/armadillo_bits/fn_solve.hpp                |   22 
 inst/include/armadillo_bits/fn_stddev.hpp               |   15 
 inst/include/armadillo_bits/fn_sum.hpp                  |   25 
 inst/include/armadillo_bits/fn_trimat.hpp               |only
 inst/include/armadillo_bits/fn_var.hpp                  |   15 
 inst/include/armadillo_bits/forward_proto.hpp           |    7 
 inst/include/armadillo_bits/glue_solve_meat.hpp         |   32 
 inst/include/armadillo_bits/glue_solve_proto.hpp        |   12 
 inst/include/armadillo_bits/lapack_proto.hpp            |  103 ++
 inst/include/armadillo_bits/op_cumsum_meat.hpp          |only
 inst/include/armadillo_bits/op_cumsum_proto.hpp         |only
 inst/include/armadillo_bits/op_dot_meat.hpp             |   46 +
 inst/include/armadillo_bits/op_dot_proto.hpp            |    9 
 inst/include/armadillo_bits/op_find_meat.hpp            |   59 -
 inst/include/armadillo_bits/op_inv_meat.hpp             |   13 
 inst/include/armadillo_bits/op_inv_proto.hpp            |   14 
 inst/include/armadillo_bits/op_trimat_meat.hpp          |only
 inst/include/armadillo_bits/op_trimat_proto.hpp         |only
 inst/include/armadillo_bits/podarray_meat.hpp           |    7 
 inst/include/armadillo_bits/span.hpp                    |    9 
 inst/include/armadillo_bits/subview_elem1_meat.hpp      |only
 inst/include/armadillo_bits/subview_elem1_proto.hpp     |only
 inst/include/armadillo_bits/subview_meat.hpp            |  321 ++++++--
 inst/include/armadillo_bits/subview_proto.hpp           |    1 
 inst/include/armadillo_bits/typedef.hpp                 |    4 
 inst/include/armadillo_bits/unwrap.hpp                  |  135 +++
 62 files changed, 2155 insertions(+), 829 deletions(-)

More information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.

/code/rcpp | permanent link