Macaulay2 » Documentation
Packages » Macaulay2Doc :: sum
next | previous | forward | backward | up | index | toc

sum -- compute the sum


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

Ways to use sum :

For the programmer

The object sum is a method function.