next

previous

forward

backward
 up 
top

index

toc

Macaulay2 website
Macaulay2Doc
::
Tally  Tally
Tally  Tally  difference of tallies
Synopsis
Operator:

Usage:
x  y
Inputs:
x
,
a
tally
y
,
a
tally
Outputs:
a
tally
, the difference of the two tallies
Description
The count associated to an item
i
in the result is the difference of the counts in
x
and in
y
if it's positive, otherwise, zero.
i1 : tally {a,a,b,c}  tally {c,d,d} o1 = Tally{a => 2} b => 1 o1 : Tally
See also
Tally
 the class of all tally results
Ways to use this method:
Tally  Tally
 difference of tallies