Mathematica 9 is now available

Transpose

Usage

Transpose[list] 转置list中的开头两层。
Transpose[list,   ,  , ...  ]转置使得list中的k 层是在结果中的   层。


Notes

• 例如: Transpose[  a,b , c,d  ]LongRightArrow .
Transpose给出一个矩阵的一般转置。  作用在张量上,给出张量。
• 只要在特殊层上的列表长度是相同的,指定 不必是不同的。
• 例:Transpose[Array[a,  3, 3 ],  1, 1 ]LongRightArrow .
• 参见Mathematica 全书: 1.8.3, 节 1.8.13, 节 3.7.2 and 节 3.7.7.
• 同时参见: Flatten, Tr.
Further Examples

This is the transpose of a non-square matrix.

In[1]:=  

Out[1]//MatrixForm=

Here is a tensor, its transpose, and their dimensions.

In[2]:=  

Out[2]//MatrixForm=

In[3]:=  

Out[3]//MatrixForm=

Here is a tensor, its transpose, and their dimensions.

In[4]:=  

Out[4]=

In[5]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.