up previous next
Product

the product of the elements of a list
Syntax

Product(L:List):OBJECT


Description
This function returns the product of the objects in the list L.

Example
  Use R ::= QQ[x,y];
  Product([3,x,y^2]);
3xy^2
-------------------------------
  Product(1..40) = Fact(40);
TRUE
-------------------------------


See Also