andymilne/Sparse-Array-Toolbox

A fast toolbox for N-dimensional sparse arrays

https://github.com/andymilne/Sparse-Array-Toolbox

You are now following this Submission

For sparse data, sparse formats can significantly increase speed and reduce memory requirements. However, MATLAB’s built-in sparse format represents only vectors and matrices, not N-dimensional arrays (tensors). This toolbox contains a new "sparse array structure" and associated operations – outer, entrywise, and inner products, addition, summation, convolution, distance measures, permutation, (circular) shifts, and other manipulations – that can be applied to N-dimensional full arrays or to sparse array structures. All functions have been carefully designed to optimize speed.
See SparseArrayToolbox.pdf for more information.

Cite As

Andrew Milne (2026). andymilne/Sparse-Array-Toolbox (https://github.com/andymilne/Sparse-Array-Toolbox), GitHub. Retrieved .

Categories

Find more on Sparse Matrices in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.1.0.0

Updated description.
Functions can now accept full arrays as well as sparse array structures. Documentation updated. Some speed improvements and bugs fixed.

1.0.0.0

Update overview
Graphic added
New description

Change to summary.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.