y = tally x
It produces a hash table (multiset) y which tallies the frequencies of the occurrences of items in the list or string x, i.e., y_i is the number of times i appears in x, or is 0 if i doesn't appear in the list or string.
|
|
|
|
|
The object tally is a compiled function.
The source of this document is in Macaulay2Doc/functions/tally-doc.m2:29:0.