Worked example

a: 1	2	3
4	5	6

→ [[1,4],[2,5],[3,6]]

Method and scope

Transpose exchanges rows and columns, including rectangular matrices. An m×n input becomes n×m. Applying transpose twice restores the original matrix.

(Aᵀ)ᵢⱼ = Aⱼᵢ

Precision and limits

≈ marks an approximation. Display rounding does not change the internal calculation.

Sources