(product,List,Function)

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 product.


topindexpreviousupnext