This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations /

Transpose

FilledSmallSquare Transpose[list] transposes the first two levels in list.

FilledSmallSquare Transpose[list, , , ... ] transposes list so that the k level in list is the level in the result.

FilledSmallSquare Example: Transpose[a,b,c,d] LongRightArrow.

FilledSmallSquare Transpose gives the usual transpose of a matrix.

FilledSmallSquare Acting on a tensor Transpose gives the tensor .

FilledSmallSquare Transpose[list, , , ... ] gives the tensor .

FilledSmallSquare So long as the lengths of the lists at particular levels are the same, the specifications do not necessarily have to be distinct.

FilledSmallSquare Example: Transpose[Array[a, 3, 3], 1, 1] LongRightArrow.

FilledSmallSquare Transpose works on SparseArray objects.

FilledSmallSquare See Section 1.8.3, Section 1.8.12, Section 2.4.3, Section 3.7.2 and Section 3.7.7.

FilledSmallSquare See also: Flatten, Thread, Tr.

FilledSmallSquare Related package: LinearAlgebra`MatrixManipulation`.

FilledSmallSquare New in Version 1.

Further Examples