Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
product
next
|
previous
|
forward
|
backward
| up |
index
|
toc
product
Description
product
provides the product of the members of a list or set, optionally with a function applied to each one.
Ways to use
product
:
product(List)
-- product of elements
product(Set)
-- product of elements
product(VirtualTally)
-- product of elements
product(VisibleList,Function)
-- product of values of a function
product(VisibleList,VisibleList,Function)
-- product of results of applying a function pairwise
product(ZZ,Function)
-- product of consecutive values of a function
For the programmer
The object
product
is
a
method function
.