Plus (+)
Usage
Notes
Further Examples
This shows how a sum is represented internally.
In[1]:=
|
Out[1]//FullForm=
|
This is a fast way to add up the elements of a list.
In[2]:=
|
Out[2]=
|
Here is another way.
In[3]:=
|
Out[3]=
|
Given a list of pairs p, the function pairPlus gives a new list of pairs {x, y}. The x's are the unique first components from p and the y's are the sums of the corresponding second components.
In[4]:=
|
In[5]:=
|
Out[5]=
|
In[6]:=
|
|