Crandore Hub

RcppArmadillo

'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library

'Armadillo' is a templated C++ linear algebra library aiming towards a good balance between speed and ease of use. It provides high-level syntax and functionality deliberately similar to Matlab. It is useful for algorithm development directly in C++, or quick conversion of research code into production environments. It provides efficient classes for vectors, matrices and cubes where dense and sparse matrices are supported. Integer, floating point and complex numbers are supported. A sophisticated expression evaluator (based on template meta-programming) automatically combines several operations to increase speed and efficiency. Dynamic evaluation automatically chooses optimal code paths based on detected matrix structures. Matrix decompositions are provided through integration with LAPACK, or one of its high performance drop-in replacements (such as 'MKL' or 'OpenBLAS'). It can automatically use 'OpenMP' multi-threading (parallelisation) to speed up computationally expensive operations. . The 'RcppArmadillo' package includes the header files from the 'Armadillo' library; users do not need to install 'Armadillo' itself in order to use 'RcppArmadillo'. Starting from release 15.0.0, the minimum compilation standard is C++14 so 'Armadillo' version 14.6.3 is included as a fallback when an R package forces the C++11 standard. Package authors should set a '#define' to select the 'current' version, or select the 'legacy' version (also chosen as default) if they must. See 'GitHub issue #475' for details. . Since release 7.800.0, 'Armadillo' is licensed under Apache License 2; previous releases were under licensed as MPL 2.0 from version 3.800.0 onwards and LGPL-3 prior to that; 'RcppArmadillo' (the 'Rcpp' bindings/bridge to Armadillo) is licensed under the GNU GPL version 2 or later, as is the rest of 'Rcpp'.

README

to upgrade to a new release of armadillo: 

- copy the armadillo file here
- replace the armadillo_bits directory by the one from the armadillo source
- ignore (or remove) armadillo_bits/config.hpp.cmake as we do not configuration

Versions across snapshots

VersionRepositoryFileSize
15.2.6-1 rolling linux/jammy R-4.5 RcppArmadillo_15.2.6-1.tar.gz 1012.1 KiB
15.2.6-1 rolling linux/noble R-4.5 RcppArmadillo_15.2.6-1.tar.gz 1014.8 KiB
15.2.6-1 rolling source/ R- RcppArmadillo_15.2.6-1.tar.gz 1.0 MiB
15.2.6-1 latest linux/jammy R-4.5 RcppArmadillo_15.2.6-1.tar.gz 1012.1 KiB
15.2.6-1 latest linux/noble R-4.5 RcppArmadillo_15.2.6-1.tar.gz 1014.8 KiB
15.2.6-1 latest source/ R- RcppArmadillo_15.2.6-1.tar.gz 1.0 MiB
15.2.6-1 2026-04-26 source/ R- RcppArmadillo_15.2.6-1.tar.gz 1.0 MiB
15.2.6-1 2026-04-23 source/ R- RcppArmadillo_15.2.6-1.tar.gz 1.0 MiB
15.2.4-1 2026-04-09 windows/windows R-4.5 RcppArmadillo_15.2.4-1.zip 3.1 MiB
14.4.1-1 2025-04-20 source/ R- RcppArmadillo_14.4.1-1.tar.gz 1.3 MiB

Dependencies (latest)

Imports

LinkingTo

Suggests