Julia 0.4 will have both compressed sparse column as well as compressed
sparse row sparse matrices. We should probably write some iterators to work
with cases such as these too. They will be convenient to use for sure, but
may not give the best performance.
-viral
On Monday, July 21, 2014
beautiful! can't wait.
cheers
florian
On 22 July 2014 10:25, Viral Shah vi...@mayin.org wrote:
Julia 0.4 will have both compressed sparse column as well as compressed
sparse row sparse matrices. We should probably write some iterators to work
with cases such as these too. They will be
Transposing is fine! Thanks for that!
On Sunday, 20 July 2014, Odd Andersen odd.ander...@gmail.com wrote:
Sparse matrices in Julia are to my understanding stored as compressed
sparse columns. So it is very easy to get the nonzero elements for a given
column, but not so easy for rows.
To
i am looking for a way to do something like
*s=sprand(3,5,0.6)*
*for i in 1:size(s,1)*
* mySparseRowFunction(s[i, ])*
*end*
I guess I'm looking for an iterator over the nonzero elements, ideally by
row. Does something like this exist? I know julia uses a different format,
but I'm