|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Tally
Tally[list]
tallies the elements in list, listing all distinct elements together with their multiplicities.
Tally[list, test]
uses test to determine whether pairs of elements should be considered equivalent, and gives a list of the first representatives of each equivalence class, together with their multiplicities.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
