DOCUMENTATION CENTER SEARCH
Mathematica
>
Rearranging & Restructuring Lists
>
Built-in
Mathematica
Symbol
Vectors and Matrices
Rearranging Nested Lists
Nested Lists
Getting and Setting Pieces of Matrices
Basic Matrix Operations
Tensors
Tutorials »
|
Flatten
Thread
ConjugateTranspose
Tr
Reverse
See Also »
|
Handling Arrays of Data
List Manipulation
Matrices and Linear Algebra
Matrix Operations
Parts of Matrices
Rearranging & Restructuring Lists
Structural Operations on Expressions
Tensors
More About »
Transpose
Transpose
[
list
]
transposes the first two levels in
list
.
Transpose
[
list
, {
n
1
,
n
2
,
...
}]
transposes
list
so that the
k
level in
list
is the
n
k
level in the result.
MORE INFORMATION
Transpose
gives the usual transpose of a matrix.
Transpose
[
m
]
can be input as
m
.
can be entered as
Esc
tr
Esc
or
\[Transpose]
.
Acting on a tensor
T
i
1
i
2
i
3
...
Transpose
gives the tensor
T
i
2
i
1
i
3
...
.
»
Transpose
[
list
, {
n
1
,
n
2
,
...
}]
gives the tensor
T
i
n
1
i
n
2
...
.
So long as the lengths of the lists at particular levels are the same, the specifications
n
k
do not necessarily have to be distinct.
Transpose
works on
SparseArray
objects.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Transpose a 2×3 matrix:
In[1]:=
Out[1]=
Scope
(2)
Generalizations & Extensions
(1)
Neat Examples
(1)
SEE ALSO
Flatten
Thread
ConjugateTranspose
Tr
Reverse
TUTORIALS
Vectors and Matrices
Rearranging Nested Lists
Nested Lists
Getting and Setting Pieces of Matrices
Basic Matrix Operations
Tensors
MORE ABOUT
Handling Arrays of Data
List Manipulation
Matrices and Linear Algebra
Matrix Operations
Parts of Matrices
Rearranging & Restructuring Lists
Structural Operations on Expressions
Tensors
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 5.1
© 2008 Wolfram Research, Inc.