Drop
Usage
Notes
Further Examples
Here is a list.
In[1]:=
|
This drops , the second element.
In[2]:=
|
Out[2]=
|
This drops , the third element from the end.
In[3]:=
|
Out[3]=
|
This drops , , and , the third through fifth elements.
In[4]:=
|
Out[4]=
|
Here is a matrix.
In[5]:=
|
In[6]:=
|
Out[6]//MatrixForm=
|
This drops row .
In[7]:=
|
Out[7]//MatrixForm=
|
This drops column .
In[8]:=
|
Out[8]//MatrixForm=
|
This drops row and column .
In[9]:=
|
Out[9]//MatrixForm=
|
This function finds successive differences of a list.
In[10]:=
|
In[11]:=
|
Out[11]=
|
This does the same thing.
In[12]:=
|
In[13]:=
|
Out[13]=
|
In[14]:=
|
See also the Further Examples for Delete.
|