SparseMatricesCSR.jl icon indicating copy to clipboard operation
SparseMatricesCSR.jl copied to clipboard

Constructor from a dense matrix

Open giordano opened this issue 3 years ago • 1 comments

It'd be nice to have a constructor from a dense matrix, or ideally AbstractMatrix :slightly_smiling_face: Unless I'm totally missing it in the (sparse :upside_down_face:) documentation

giordano avatar Jun 25 '21 09:06 giordano

Adding on, is there a better way to convert a sparse matrix A from CSC to CSR besides the following?

Acsr = SparseMatricesCSR.SparseMatrixCSR(transpose(sparse(transpose(A))))

jacob-roth avatar Mar 14 '23 22:03 jacob-roth