Skip to content

submat view in arma::sp_mat

Hi

I am trying to read from/write to submatrices of arma::sp_mat objects.

However this operation is almost as slow as converting the sparse matrix to dense, getting the sub-matrix view and converting it back to a sparse matrix!

Am I doing something wrong? Is there a smarter way to do this? Or may I suggest this as a feature for next version?

Thanks Sriram

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information