I was wondering what the algorithmic complexity of a conversion from CSC (compressed sparse column)
to CSR (compressed sparse row)
is?
Say I have
- a CSC
m x m
-matrixA = csc(m,m)
withn
non-zero elements - a CSR
m x m
-matrixB = csr(m,m)
withn
non-zero elements
Now I do the conversion from CSC -> CSR
with B = convert(A)
.
How costly and complex is it? Can anyone guide me through it? Or clarify things? Thanks