|
Further Examples: MapIndexed
Here is a matrix.
In[1]:= 
Out[1]//MatrixForm= 
Here the nth row of aa has been rotated n places to the left.
In[2]:= 
Out[2]//MatrixForm= 
The defined function DiagonalQ tests whether or not a matrix is diagonal.
In[3]:= 
In[4]:= 
Out[4]= 
In[5]:= 
Out[5]= 
In[6]:= 
|