RcppEigen

Rcpp integration for the Eigen templated linear algebra library

https://github.com/rcppcore/rcppeigen

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 14 committers (7.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

algorithm c-plus-plus cran eigen eigen-library r-package

Keywords from Contributors

rcpp c-plus-plus-11 c-plus-plus-14 c-plus-plus-17 c-plus-plus-20 r-packages rcpparmadillo armadillo multilevel-models weighted
Last synced: 6 months ago · JSON representation

Repository

Rcpp integration for the Eigen templated linear algebra library

Basic Info
  • Host: GitHub
  • Owner: RcppCore
  • License: other
  • Language: C++
  • Default Branch: master
  • Size: 7.43 MB
Statistics
  • Stars: 116
  • Watchers: 16
  • Forks: 41
  • Open Issues: 6
  • Releases: 0
Topics
algorithm c-plus-plus cran eigen eigen-library r-package
Created over 12 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License

README.md

RcppEigen: R and Eigen via Rcpp

CI License License CRAN r-universe Dependencies Coverage Status Debian package Last Commit Downloads (monthly) Downloads (total) CRAN use BioConductor use JSS

Synopsis

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers and related algorithms. It supports dense and sparse matrices on integer, floating point and complex numbers, decompositions of such matrices, and solutions of linear systems. Its performance on many algorithms is comparable with some of the best implementations based on Lapack and level-3 BLAS.

RcppEigen provides an interface from R to and from Eigen by using the facilities offered by the Rcpp package for seamless R and C++ integration.

Examples

A few examples are over at the Rcpp Gallery. A simple one is

```c++

include

// [[Rcpp::depends(RcppEigen)]]

using Eigen::Map; // 'maps' rather than copies using Eigen::MatrixXd; // variable size matrix, double precision using Eigen::VectorXd; // variable size vector, double precision using Eigen::SelfAdjointEigenSolver; // one of the eigenvalue solvers

// [[Rcpp::export]] VectorXd getEigenValues(Map M) { SelfAdjointEigenSolver es(M); return es.eigenvalues(); } ```

which can be turned into a function callable from R via a simple

sourceCpp("eigenExample.cpp")

due to the two Rcpp directives to use headers from the RcppEigen package, and to export the getEigenValues() function -- but read the full post for details.

Status

The package is mature and under active development, following the Eigen release cycle.

Documentation

The package contains a pdf vignette which is a pre-print of the paper by Bates and Eddelbuettel in JSS (2013, v52i05).

Authors

Douglas Bates, Dirk Eddelbuettel, Romain Francois, and Yixuan Qiu

License

GPL (>= 2)

Owner

  • Name: Rcpp
  • Login: RcppCore
  • Kind: organization

GitHub Events

Total
  • Issues event: 5
  • Watch event: 5
  • Issue comment event: 16
  • Push event: 4
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 5
  • Watch event: 5
  • Issue comment event: 16
  • Push event: 4
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 539
  • Total Committers: 14
  • Avg Commits per committer: 38.5
  • Development Distribution Score (DDS): 0.564
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dirk Eddelbuettel e****d@d****g 235
Douglas Bates d****s@g****m 204
Yixuan Qiu y****u@c****e 68
Romain François r****n@r****m 7
Mikael Jagan j****n@m****a 6
coatless b****2@i****u 5
Ralf Stubner r****r@d****m 4
Michael Weylandt m****t@g****m 3
ChingChuan Chen z****6@g****m 2
Tomas Kalibera t****a@g****m 1
Martin Maechler m****r@r****g 1
Jonah Gabry j****y@g****m 1
Alexey Stukalov a****t 1
Yu Gong a****g@y****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 87
  • Total pull requests: 30
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 72
  • Total pull request authors: 15
  • Average comments per issue: 6.31
  • Average comments per pull request: 5.57
  • Merged pull requests: 25
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 1
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: 2 minutes
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 5.5
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • eddelbuettel (6)
  • waynelapierre (3)
  • cdeterman (3)
  • rstub (2)
  • zdebruine (2)
  • SteveBronder (2)
  • Mervap (2)
  • montge (2)
  • bob-carpenter (1)
  • bbimber (1)
  • coatless (1)
  • gangcai (1)
  • Scarefaced (1)
  • hms1 (1)
  • ccnawrocki (1)
Pull Request Authors
  • yixuan (8)
  • eddelbuettel (7)
  • jaganmn (3)
  • coatless (2)
  • tnagler (2)
  • Sherry520 (2)
  • kalibera (2)
  • Mervap (1)
  • michaelweylandt (1)
  • rstub (1)
  • ChingChuan-Chen (1)
  • armgong (1)
  • mmaechler (1)
  • dselivanov (1)
  • jgabry (1)
Top Labels
Issue Labels
help wanted (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 387,578 last-month
  • Total docker downloads: 1,458,761
  • Total dependent packages: 42
  • Total dependent repositories: 203
  • Total versions: 39
  • Total maintainers: 1
cran.r-project.org: RcppEigen

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

  • Versions: 39
  • Dependent Packages: 42
  • Dependent Repositories: 203
  • Downloads: 387,578 Last month
  • Docker Downloads: 1,458,761
Rankings
Downloads: 0.5%
Dependent repos count: 1.2%
Forks count: 1.8%
Dependent packages count: 2.0%
Stargazers count: 3.8%
Average: 4.4%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • Matrix >= 1.1 imports
  • Rcpp >= 0.11.0 imports
  • stats * imports
  • utils * imports
  • inline * suggests
  • microbenchmark * suggests
  • pkgKitten * suggests
  • tinytest * suggests