Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4608797 | Journal of Complexity | 2009 | 8 Pages |
Abstract
Given a rectangular m×nm×n matrix stored as a two-dimensional array, we want to transpose it in place and measure the cost by the number of memory writes and the number of auxiliary cells used. We propose a transposition algorithm with optimal complexity O(mn)O(mn) using only min(m,n)min(m,n) auxiliary memory cells.
Related Topics
Physical Sciences and Engineering
Mathematics
Analysis
Authors
A.A. Tretyakov, E.E. Tyrtyshnikov,