i1 : a = tally{1,1,1,1,1,10,10,10,100,100} o1 = Tally{1 => 5 } 10 => 3 100 => 2 o1 : Tally
i2 : sum a o2 = 235
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/sum-doc.m2:86:0.