sum
sum
-- provides the sum of the members of a list, set, or chain complex, optionally with a function applied to each one.
sum List
-- sum the elements of a list or sequence
sum(List,List,Function)
-- sum results of applying a function
sum(List,Function)
-- sum results of applying a function
sum(ZZ,Function)
-- sum consecutive values of a function
sum Tally
-- sum elements of a tally
sum Set
-- sum elements of a tally
sum ChainComplex
-- sum modules in a chain complex
sum ChainComplexMap
-- sum components in a map of chain complexes
See also
product
.