This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Transpose

 Transpose[list]transposes the first two levels in list. Transposetransposes list so that the k level in list is the level in the result.
• Transpose gives the usual transpose of a matrix.
• So long as the lengths of the lists at particular levels are the same, the specifications do not necessarily have to be distinct.
Transpose a 2×3 matrix:
Transpose a 2×3 matrix:
 Out[1]=
 Scope   (3)
s is a sparse matrix:
Transpose[s] is sparse:
The indices have, in effect, just been reversed:
Enter using Esc tr Esc:
Get the leading diagonal by transposing two identical levels:
 Applications   (1)
Multidimensionalize (in the tensor product sense) a one-dimensional list command:
Accumulate values of a tensor at all levels:
Import data from an image:
Flip the image by reversing at both levels:
T is a tensor with dimensions 2, 3, 4:
Transposing by a permutation transposes the element positions by :
Transpose is equivalent to Diagonal[m]:
Transpose only works for rectangular arrays: