image thumbnail

Sparse sub access

version 1.11.0.0 (25.8 KB) by Bruno Luong
This package allows to retrieve and assign values of sparse matrix in one shot.

3.7K Downloads

Updated 13 Nov 2010

View License

The indexes must be provided in (row,column) form. Functions in this package are programmed with care so no overflow of linear index is used with large-size matrix. I try to design an engine of automatic selection algorithms so as to provide a good run time performance across various cases. I'm not sure it's worth the effort, but my experience shows that it is easy to mess with the performance when non-appropriate method is using in sparse manipulation. This package does not warranty for best performance, but it just has a modest pretension to prevent user to use bad algorithm. For a better customize solution, a calibration is required on the specific
computer by running this command: spcalib('auto')

Cite As

Bruno Luong (2021). Sparse sub access (https://www.mathworks.com/matlabcentral/fileexchange/23488-sparse-sub-access), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Robust Sparse data types

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!