Package: RcppArmadillo 15.2.2-1

Image

Dirk Eddelbuettel

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'.

Authors:Dirk Eddelbuettel [aut, cre], Romain Francois [aut], Doug Bates [aut], Binxiang Ni [aut], Conrad Sanderson [aut]

RcppArmadillo_15.2.2-1.tar.gz
RcppArmadillo_15.2.2-1.zip(r-4.6)RcppArmadillo_15.2.2-1.zip(r-4.5)RcppArmadillo_15.2.2-1.zip(r-4.4)
RcppArmadillo_15.2.2-1.tgz(r-4.5-x86_64)RcppArmadillo_15.2.2-1.tgz(r-4.5-arm64)RcppArmadillo_15.2.2-1.tgz(r-4.4-x86_64)RcppArmadillo_15.2.2-1.tgz(r-4.4-arm64)
RcppArmadillo_15.2.2-1.tar.gz(r-4.6-arm64)RcppArmadillo_15.2.2-1.tar.gz(r-4.6-x86_64)RcppArmadillo_15.2.2-1.tar.gz(r-4.5-arm64)RcppArmadillo_15.2.2-1.tar.gz(r-4.5-x86_64)
RcppArmadillo_15.2.2-1.tgz(r-4.5-emscripten)
RcppArmadillo.pdf |RcppArmadillo.html
RcppArmadillo/json (API)
NEWS

# Install 'RcppArmadillo' in R:
install.packages('RcppArmadillo', repos = c('https://rcppcore.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rcppcore/rcpparmadillo/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

armadilloc-plus-plusrcpprcpparmadilloopenblascppopenmp

19.11 score 207 stars 3.9k packages 2.0k scripts 646k downloads 29 mentions 11 exports 1 dependencies

Last updated from:eba92fc19d. Checks:13 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-arm64OK177
linux-devel-x86_64OK177
source / vignettesOK208
linux-release-arm64OK180
linux-release-x86_64OK179
macos-release-arm64OK131
macos-release-x86_64OK282
macos-oldrel-arm64OK153
macos-oldrel-x86_64OK396
windows-develOK211
windows-releaseOK222
windows-oldrelOK222
wasm-releaseOK117

Exports:armadillo_get_number_of_omp_threadsarmadillo_reset_coresarmadillo_set_number_of_omp_threadsarmadillo_set_seedarmadillo_set_seed_randomarmadillo_throttle_coresarmadillo_versionarmadillo_version_typedfastLmfastLmPureRcppArmadillo.package.skeleton

Dependencies:Rcpp

RcppArmadillo-introduction

Rendered fromRcppArmadillo-intro.Rnwusingutils::Sweaveon Dec 06 2025.

Last update: 2020-02-11
Started: 2013-08-13

RcppArmadillo-sparseMatrix

Rendered fromRcppArmadillo-sparseMatrix.Rnwusingutils::Sweaveon Dec 06 2025.

Last update: 2020-02-11
Started: 2017-07-31

Readme and manuals

Help Manual

Help pageTopics
R and Armadillo IntegrationRcppArmadillo-package RcppArmadillo RcppArmadilloExample
Report (or Set) Maximum Number of OpenMP Threadsarmadillo_get_number_of_omp_threads armadillo_set_number_of_omp_threads
Set the Armadillo Random Number Generator to given or random valuearmadillo_set_seed armadillo_set_seed_random
Throttle (or Reset) (Rcpp)Armadillo to Two Coresarmadillo_reset_cores armadillo_throttle_cores
Report the version of Armadilloarmadillo_version armadillo_version_typed
Bare-bones linear model fitting functionfastLm fastLm.default fastLm.formula fastLmPure
Create a skeleton for a new package that intends to use RcppArmadilloRcppArmadillo.package.skeleton

  • Image