CRAN/E | MatrixExtra

MatrixExtra

Extra Methods for Sparse Matrices

Installation

About

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

github.com/david-cortes/MatrixExtra
Copyright see file COPYRIGHTS
Bug report File report

Key Metrics

Version 0.1.15
Published 2024-01-22 88 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks MatrixExtra results

Downloads

Yesterday 279 0%
Last 7 days 1.115 -29%
Last 30 days 5.479 -9%
Last 90 days 19.888 +5%
Last 365 days 70.736 -11%

Maintainer

Maintainer

David Cortes

david.cortes.rivera@gmail.com

Authors

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)

Material

Reference manual
Package source

Vignettes

Introducing_MatrixExtra

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

MatrixExtra archive

Depends

Matrix ≥ 1.3
methods

Imports

Rcpp
RhpcBLASctl
float

Suggests

testthat
data.table
knitr
rmarkdown

LinkingTo

Rcpp

Reverse Imports

did2s
hdf5r.Extra
IFAA
recometrics
rsparse

Reverse Suggests

cmfrec
readsparse