|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Gather
Gather[list]
gathers the elements of list into sublists of identical elements.
Gather[list, test]
applies test to pairs of elements to determine if they should be considered identical.
ExamplesExamplesopen allclose all
Basic Examples (4)Basic Examples (4)
Gather multiple solutions together:
| In[1]:= |
| Out[1]= | ![]() |
Gather elements that have equal integer parts:
| In[1]:= |
| Out[1]= |
Gather integers that have identical remainders:
| In[1]:= |
| Out[1]= |
Gather polynomials that have identical remainders:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Check the remainders in each list:
| In[3]:= |
| Out[3]= |
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

