Tally
Tally
-- a class designed to hold tally results, i.e., multisets.
Operations:
tally
-- tally the elements of a list
elements
-- a list of the elements
apply(Tally,Function)
-- apply a function to the elements.
Tally ** Tally
-- Cartesian product
Tally + Tally
-- union
sum(Tally)
-- add the elements
product(Tally)
-- multiply the elements
Go to
main index
.
Go to
concepts index
.