Skip to content

Rcpp integration for Armadillo templated linear algebra library

Notifications You must be signed in to change notification settings

gvegayon/RcppArmadillo

 
 

Repository files navigation

RcppArmadillo Build Status License CRAN Downloads

R and Armadillo via Rcpp

Overview

Armadillo is a templated C++ linear algebra library written by Conrad Sanderson that aims towards a good balance between speed and ease of use. Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided through optional integration with LAPACK and ATLAS libraries.

A delayed evaluation approach is employed (during compile time) to combine several operations into one, and to reduce (or eliminate) the need for temporaries. This is accomplished through recursive templates and template meta-programming.

This library is useful if C++ has been decided as the language of choice (due to speed and/or integration capabilities), rather than another language.

The RcppArmadillo package includes the header files from the templated Armadillo library. Thus users do not need to install Armadillo itself in order to use RcppArmadillo.

This Armadillo integration provides a nice illustration of the capabilities of the Rcpp package for seamless R and C++ integration.

Status

The package is under active development with releases to CRAN about once a month.

Documentation

The package contains a pdf vignette which is a pre-print of the paper by Eddelbuettel and Sanderson in CSDA (2014).

Authors

Romain Francois, Dirk Eddelbuettel and Doug Bates

License

GPL (>= 2)

About

Rcpp integration for Armadillo templated linear algebra library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.4%
  • R 3.3%
  • CMake 0.2%
  • MATLAB 0.1%
  • Makefile 0.0%
  • Shell 0.0%