|
Further Examples: MapAt
This specifies that f is mapped across the list at position only.
In[1]:= 
Out[1]= 
Here f is mapped on the second position of the first element.
In[2]:= 
Out[2]= 
To avoid ambiguity when there is more than one part specification, you must put each of them in a separate sublist.
In[3]:= 

Out[3]= 
In[4]:= 
Out[4]= 
Here is a matrix.
In[5]:= 
Out[5]//MatrixForm= 
This replaces all the elements of the second row and the first element of the third row by zeros.
In[6]:= 
Out[6]//MatrixForm= 
In[7]:= 
|