MatrixExtra: Extra Methods for Sparse Matrices

Extends sparse matrix and vector classes from the 'Matrix' package by providing: (a) Methods and operators that work natively on CSR formats (compressed sparse row, a.k.a. 'RsparseMatrix') such as slicing/sub-setting, assignment, rbind(), mathematical operators for CSR and COO such as addition ("+") or sqrt(), and methods such as diag(); (b) Multi-threaded matrix multiplication and cross-product for many <sparse, dense> types, including the 'float32' type from 'float'; (c) Coercion methods between pairs of classes which are not present in 'Matrix', such as 'dgCMatrix' -> 'ngRMatrix', as well as convenience conversion functions; (d) Utility functions for sparse matrices such as sorting the indices or removing zero-valued entries; (e) Fast transposes that work by outputting in the opposite storage format; (f) Faster replacements for many 'Matrix' methods for all sparse types, such as slicing and elementwise multiplication. (g) Convenience functions for sparse objects, such as 'mapSparse' or a shorter 'show' method.

Version: 0.1.15
Depends: Matrix (≥ 1.3), methods
Imports: Rcpp, RhpcBLASctl, float
LinkingTo: Rcpp
Suggests: testthat, data.table, knitr, rmarkdown
Published: 2024-01-22
DOI: 10.32614/CRAN.package.MatrixExtra
Author: David Cortes [aut, cre, cph], Dmitry Selivanov [cph], Thibaut Goetghebuer-Planchon [cph] (Copyright holder of included robinmap library), Martin Maechler [cph] (Copyright holder of 'Matrix' package from which some code was taken), Robert Gentleman [cph] (Copyright holder of mathematical functions used by base R which were copied), Ross Ihaka [cph] (Copyright holder of mathematical functions used by base R which were copied)
Maintainer: David Cortes <david.cortes.rivera at gmail.com>
BugReports: https://github.com/david-cortes/MatrixExtra/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: see file COPYRIGHTS
URL: https://github.com/david-cortes/MatrixExtra
NeedsCompilation: yes
CRAN checks: MatrixExtra results

Documentation:

Reference manual: MatrixExtra.pdf
Vignettes: Introducing_MatrixExtra

Downloads:

Package source: MatrixExtra_0.1.15.tar.gz
Windows binaries: r-devel: MatrixExtra_0.1.15.zip, r-release: MatrixExtra_0.1.15.zip, r-oldrel: MatrixExtra_0.1.15.zip
macOS binaries: r-release (arm64): MatrixExtra_0.1.15.tgz, r-oldrel (arm64): MatrixExtra_0.1.15.tgz, r-release (x86_64): MatrixExtra_0.1.15.tgz, r-oldrel (x86_64): MatrixExtra_0.1.15.tgz
Old sources: MatrixExtra archive

Reverse dependencies:

Reverse imports: did2s, fastglmpca, IFAA, recometrics, rsparse
Reverse suggests: cmfrec, RcppBlaze, readsparse

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MatrixExtra to link to this page.