Motivation
In #1034 (comment) a discussion about sparse transformation for linear systems was opened.
Currently, if one first creates a COO matrix, it is requested to:
call coo2sorted( COO,sort_data) : sort and ensure unique (i,j,v) entries. This procedure reallocates the COO matrix to remove duplicates.
call coo2csr(COO,CSR) : assumes COO is sorted and unique
It could be possible to enhance the second call with a boolean flag to carry out both steps with a single call.
Prior Art
No response
Additional Information
No response