PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Core Language
>
List Manipulation
>
Rearranging & Restructuring Lists
>
Mathematica
>
Data Manipulation
>
Handling Arrays of Data
>
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 »
|
Basic Image Manipulation
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
(3)
Generalizations & Extensions
(2)
Applications
(1)
Properties & Relations
(2)
Possible Issues
(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
Basic Image Manipulation
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.