Add in-place matrix transposition for non-square matrix
samueltardieu opened this issue · comments
Right now, only square matrices can be transposed by Matrix::transpose()
. It would be useful to extend this to non-square matrices.
See https://en.wikipedia.org/wiki/In-place_matrix_transposition for some algorithms that could be used.