MatrixExtra

Extra Methods for Sparse Matrices

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 7,484 times in the last 30 days. A solid achievement! Enough downloads to get noticed at department meetings. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 253 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
0 downloadsFeb 12, 2025
237 downloadsFeb 13, 2025
212 downloadsFeb 14, 2025
136 downloadsFeb 15, 2025
163 downloadsFeb 16, 2025
235 downloadsFeb 17, 2025
355 downloadsFeb 18, 2025
314 downloadsFeb 19, 2025
291 downloadsFeb 20, 2025
308 downloadsFeb 21, 2025
145 downloadsFeb 22, 2025
176 downloadsFeb 23, 2025
221 downloadsFeb 24, 2025
357 downloadsFeb 25, 2025
366 downloadsFeb 26, 2025
310 downloadsFeb 27, 2025
261 downloadsFeb 28, 2025
156 downloadsMar 1, 2025
151 downloadsMar 2, 2025
284 downloadsMar 3, 2025
252 downloadsMar 4, 2025
253 downloadsMar 5, 2025
287 downloadsMar 6, 2025
261 downloadsMar 7, 2025
163 downloadsMar 8, 2025
188 downloadsMar 9, 2025
247 downloadsMar 10, 2025
300 downloadsMar 11, 2025
259 downloadsMar 12, 2025
343 downloadsMar 13, 2025
253 downloadsMar 14, 2025
0 downloadsMar 15, 2025
136
366

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 63,684 times in the last 365 days. An impressive feat! Enough downloads to make even seasoned academics take note. The day with the most downloads was Feb 05, 2025 with 386 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports3 packages
  • Suggests4 packages
  • Linking To1 package
  • Reverse Depends1 package
  • Reverse Imports4 packages
  • Reverse Suggests3 packages