In-place matrix transposition (source code)

= In-place matrix transposition
{wiki=In-place_matrix_transposition}

In-place matrix transposition is an algorithmic technique used to transpose a matrix without requiring any additional space for a new matrix. Transposing a matrix involves flipping it over its diagonal, which means that the rows become columns and the columns become rows. \#\#\# Characteristics of In-Place Matrix Transposition: 1. **Space Efficiency**: This technique is efficient in terms of memory usage because it does not allocate extra space proportional to the size of the matrix. Instead, it modifies the original matrix directly.