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

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


R and Armadillo via Rcpp

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.

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

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

Romain Francois, Dirk Eddelbuettel and Doug Bates

GPL (>= 2)

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RcppArmadillo")

0.7.400.2.0 by Dirk Eddelbuettel, a month ago


http://dirk.eddelbuettel.com/code/rcpp.armadillo.html


Report a bug at https://github.com/RcppCore/RcppArmadillo/issues


Browse source code at https://github.com/cran/RcppArmadillo


Authors: Dirk Eddelbuettel, Romain Francois and Doug Bates


Documentation:   PDF Manual  


Task views: Numerical Mathematics


GPL (>= 2) license


Imports Rcpp, stats, utils

Suggests RUnit, Matrix, pkgKitten

Linking to Rcpp


Imported by DiffusionRgqd, DiffusionRimp, DiffusionRjgqd, TED, bfa.

Depended on by FBFsearch, FisHiCal, MVB, PedCNV, prospectr, robustgam.

Suggested by CFC, DepthProc, MfUSampler, RcppRoll, crmPack.

Linked to by ACEt, AHR, ASPBay, AbsFilterGSEA, AdaptiveSparsity, Amelia, BIFIEsurvey, BIPOD, BTLLasso, BaBooN, BacArena, Barycenter, BayesBD, BayesComm, BigVAR, BuyseTest, CDM, ChannelAttribution, ClusterR, Countr, CoxPlus, Crossover, ECctmc, EPGLM, EloChoice, EstHer, FDRreg, FIACH, FRESA.CAD, FastBandChol, GAS, GEEaSPU, GERGM, GMCM, GPvam, GSE, GeneticTools, GenomicTools, GiRaF, Gmedian, HLMdiag, HSAR, JAGUAR, KernelKnn, Langevin, Luminescence, MAT, MESS, MRS, MSGARCH, MatrixCorrelation, MetaheuristicFPA, MiSPU, MixedDataImpute, Morpho, Mposterior, NNLM, NPflow, NetRep, OpenImageR, PACVB, PPtreeViz, PWD, PanelCount, PenCoxFrail, PoweR, RSSL, RStoolbox, Rborist, RcppDE, RcppMLPACK, RealVAMS, Rfast, Rphylopars, Rvcg, SAMM, SBSA, SVMMatch, SelvarMix, SparseFactorAnalysis, SpatMCA, SpatPCA, SpatialEpi, SpatialTools, StepwiseTest, TAM, TauStar, TreeBUGS, VarSelLCM, aSPU, acebayes, arrApply, bayesm, bayou, bcp, bife, bigReg, biglasso, blockmodels, blockseg, bootTimeInference, bvarsv, cIRT, ccaPP, cccp, cda, cladoRcpp, coala, coneproj, copCAR, cord, cqrReg, crawl, ctmcd, dfcomb, dfmta, dina, dnc, drgee, emIRT, evolqg, fICA, factorstochvol, fastM, fastR, fdaMixed, fdasrvf, flip, forecast, fourPNO, fourierin, gMWT, gRain, gRbase, gRim, gaselect, geoCount, gjam, glamlasso, glcm, glmBfp, glmgraph, gmum.r, gmwm, graphicalVAR, growcurves, growfunctions, hawkes, hkevp, hsphase, hypervolume, iBATCGH, iLaplace, icamix, iccbeta, immer, inca, jmcm, jmotif, kdecopula, l0ara, largeVis, lowmemtkmeans, lpme, lsgl, markophylo, markovchain, matchingMarkets, matchingR, mcIRT, mcemGLM, mcmcse, metafolio, mets, mev, miceadds, milr, minimaxdesign, mirt, mirtCAT, miscF, mixedMem, mixpack, moveHMM, mp, msgl, mvcluster, mvnfast, netcoh, netdiffuseR, ngspatial, oem, onlinePCA, pcalg, perccal, phylocurve, phylosignal, planar, polyfreqs, prototest, psd, psgp, quadrupen, quanteda, rFTRLProximal, rags2ridges, ragt2ridges, rcss, redist, regsem, repolr, resemble, revealedPrefs, rflann, rgam, rmgarch, robustHD, robustreg, roll, rotations, rstpm2, rugarch, saeRobust, sbfc, sbmSDP, scoringRules, seqHMM, sgd, sglOptim, sirt, slfm, smoof, smooth, snipEM, sourceR, spBayesSurv, sparsereg, spduration, starma, stm, stochvol, stplanr, stpm, strum, survAccuracyMeasures, surveybootstrap, synlik, tensorBSS, textmineR, timma, treeclim, tsBSS, unmarked, wCorr, zic.


See at CRAN