Mathematica 9 is now available
Further Examples

This constructs a  x  matrix of integers.

In[1]:=  

Out[1]=

This picks out the third element in the second row.

In[2]:=  

Out[2]=

Here is the same operation using Part rather than Extract.

In[3]:=  

Out[3]=

This picks out the diagonal elements.

In[4]:=  

Out[4]=

This does the same thing with separate calls to Part.

In[5]:=  

Out[5]=

This picks out the element from the upper left corner of the matrix and the entire second row.

In[6]:=  

Out[6]=

This encloses the extracted elements with h.

In[7]:=  

Out[7]=

Here is the list of positions where powers appear in the polynomial poly.

In[8]:=  

In[9]:=  

Out[9]=

It is not necessary to name the blanks.

In[10]:=  

Out[10]=

This gives the powers.

In[11]:=  

Out[11]=

In[12]:=  

同时参见 the Further Examples for Part.



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.