transposed

Returns a new matrix that is the transpose of this matrix.

The transpose of a matrix is obtained by flipping the matrix over its diagonal, effectively switching the row and column indices of each element.

Return

A new matrix representing the transpose of the current matrix.