sparse
sparse copied to clipboard
feat: add efficient permutation operations for COO
For some sparse matrix formats, pivot operations can be done effectively without explicitly carrying out the matrix multiplications between the pivot matrix and the sparse matrix.
This PR implements in-place multiplications with permutations matrix for the COO format. It should be quite straight forward to also do this for DOK (dictoinary of keys) too.