Transposition is an operation that applies to matrices wherein the rows and columns are swapped
The transpose of a matrix A is written as A'. The transpose of matrix A is another matrix B in which the element in the i
th row and the j
th column of A is in the j
th row and the i
th column of B. For example:
Suppose A =
[[11, 12, 13],
[21, 22, 23],
[31, 32, 33]]
Then, A' =
[[11, 21, 31],
[12, 22, 32],
[13, 23, 33]]
In scientific software r for statistical computing and graphics, function t
transposes a matrix.