Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » lists and sequences » sum
next | previous | forward | backward | up | index | toc

sum -- compute the sum

Description

sum provides the sum of the members of a list, set, or chain complex, optionally with a function applied to each one.

Menu

Ways to use sum:

For the programmer

The object sum is a method function.


The source of this document is in Macaulay2Doc/functions/sum-doc.m2:13:0.