next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: product(ZZ,Function)

product(ZZ,Function) -- product of consecutive values of a function

Synopsis

Description

product(n,f) compute the product f(0) * f(1) * ... * f(n-1).

i1 : product(5, i -> 2*i+1)

o1 = 945

See also