Macaulay2 » Documentation
Packages » Macaulay2Doc :: product(VisibleList,Function)
next | previous | forward | backward | up | index | toc

product(VisibleList,Function) -- product of values of a function

Synopsis

Description

product(v,f) yields the product of the expressions obtained by applying f to each of the elements of the list or sequence v.

i1 : product(1 .. 5, i -> i^2)

o1 = 14400

See also

Ways to use this method: