could you not just replace rowPermutation with the original indices [1,2,... (or more generically 1:size(sparseMatrix,1)) so the rows order is unchanged?
– RTL
or more simpily replace rowPermutation with a colon :
– RTL
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
rowPermutation
with the original indices[1,2,...
(or more generically1:size(sparseMatrix,1)
) so the rows order is unchanged? – RTL:
– RTL