How to sort the Eigen::Matrix that have std::pair and delete the duplicates of indices
I need a way to sort and delete the duplicates of row and column indices of a sparse matrix.
But at first I need to sort indices and later find a method to delete the duplicates.