There is a rowals function, and then there is a find function, and the find 
function actually allows you to write a one line colvals function:

colvals(S::SparseMatrixCSC) = round(Int, floor(find(S)/(size(S, 1)+0.1))+1)

shouldn't someone add this to base?

Reply via email to