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 looking for something similar to Eigen's InnerIterator 
(http://eigen.tuxfamily.org/dox/group__TutorialSparse.html). 

Context: I have a very large tensor product of univariate B-Spline Basis 
functions - this forms a sparse matrix. I need to take each row of this 
product and multiply it with a vector.

Reply via email to