You can get non-zero indexes of a sparse matrix using find(sparseMatrix), then you can iterate over them.
- [julia-users] Re: iterate over rows of sparse matrix and g... Jerzy Głowacki
You can get non-zero indexes of a sparse matrix using find(sparseMatrix), then you can iterate over them.