Matrix Transpose
OperationsEasyFlipped reflection of row and column indexes for square or rectangular matrices.
Alt+Shift+2
Configuration Panel
Complexity Indices
Time ComplexityO(R * C)
Auxiliary SpaceO(R * C) transposed buffer
Conceptual Overview
Matrix transposition flips a matrix over its main diagonal, switching the row and column indices of the matrix.
Source: CP-Algorithms reference guide