|
Further Examples: Transpose
This is the transpose of a non-square matrix.
In[1]:= 
Out[1]//MatrixForm= 
Here is a tensor mm with .
In[2]:= 
Out[2]//MatrixForm= 
Here is the transpose of mm.
In[3]:= 
Out[3]//MatrixForm= 
Transpose interchanges levels one and two.
In[4]:= 
Out[4]= 
You can interchange other levels with a second argument. Transpose[mm] is the default case.
In[5]:= 
Out[5]= 
Under Transpose[mm,{3, 1, 2}] the entry at {i, j, k} goes to {j, k, i}.
In[6]:= 
Out[6]//MatrixForm= 
This defines the function HermitianQ which tests whether or not a matrix is equal to the conjugate of its transpose.
In[7]:= 
In[8]:= 
Out[8]= 
In[9]:= 
Out[9]= 
In[10]:= 
|