Open
Description
The main constructor from existing CSR/CSC data is e.g. try_from_csr_data. However, this deliberately rejects unsorted input. However, if the only issue with the data is that the column indices are not sorted, then this is fixable. We should provide a similarly named try_from_unsorted_csr_data
which would sort the column indices when needed. Similarly for CscMatrix
, as well as an analogous constructor for SparsityPattern
.