Are the values in each compressed column of a sparse matrix stored in order?
Show older comments
If I have a sparse column vector (e.g. a column of a sparse matrix), and I'm accessing the elements of that vector in a mex file, are the row indices guaranteed to be sorted in order, lowest row index first?
Answers (1)
Oliver Woodford
on 20 Nov 2015
0 votes
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!