CoCoA:Product

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Product

the product of the elements of a list

Description

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

Example

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

Syntax

Product(L:List):OBJECT

Algebraic Operators

Sum

   <type>ideal</type>
   <type>integer</type>
   <type>list</type>
   <type>matrix</type>
   <type>polynomial</type>
   <type>rat</type>
   <type>ratfun</type>
   <type>vector</type>
   <type>zmod</type>