STFC Website

part of UK Research & Innovation

Version 1.0.0

12th July 2004

MC46: Sparse rectangular matrix held by rows: transpose

This subroutine takes an \(m\) by \(n\) sparse matrix \(\mathbf{A}\), whose entries are stored by rows, and reorders it to be stored by columns. The subroutine differs from MC38 inasmuch as it requires less storage but may be slower, particularly on vector machines.