Learn R Programming

⚠️There's a newer version (15.2.4-1) of this package.Take me there.

RcppArmadillo (version 0.4.400.0)

Rcpp integration for Armadillo templated linear algebra library

Description

R and Armadillo integration using Rcpp Armadillo is a templated C++ linear algebra library (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. Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp bindings/bridge to Armadillo) is licensed under the GNU GPL version 2 or later, as is the rest of Rcpp.

Copy Link

Version

Install

install.packages('RcppArmadillo')

Monthly Downloads

697,787

Version

0.4.400.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

August 19th, 2014

Functions in RcppArmadillo (0.4.400.0)

armadillo_set_seed

Set the Armadillo Random Number Generator to the given value
RcppArmadillo-package

Rcpp/Armadillo bridge
fastLm

Bare-bones linear model fitting function
armadillo_version

Report the version of Armadillo
RcppArmadillo.package.skeleton

Create a skeleton for a new package that intends to use RcppArmadillo
armadillo_set_seed_random

Set the Armadillo Random Number Generator to a random value