compact sparse storage mode to row-indexed sparse storage mode


michielm
03-08-2010, 05:11 AM
Hi,
Does anyone know if there is a routine available to translate a sparse matrix in compact sparse storage mode (i.e. 45 degrees rotated storage) into row-indexed sparse storage mode? (without going through full mode and into sprsin)

If not, I will write it myself, but if there is a routine available then it will save me time to use that one.

For those interested: the reason why I want to do this is that I have a medium large sparse matrix which is too big for my memory in full storage mode, but perfectly ok in compact mode. While (in my opinion) compact mode is much more easy to read than row-indexed mode, I chose to use compact mode. But the standard linbcg routine uses row-indexed mode and I want to use that routine.