Remove rows/columns from MatrixStore in OjAlgo

184 views Asked by At

Is there any convenient and efficient way to remove rows (or columns) from SparseMatrix in ojAlgo? I was trying to retrieve RowView from my matrix and then copy rows that should remain element by element to new matrix but this is not very efficient method.

1

There are 1 answers

4
apete On

Doing the same thing but using the ElementView2D obtained from the nonzeros() method would be much more efficient.