[top][index]
search for:

product {...} -- product of elements

Synopsis:

  • Function: product
  • Input:
  • an instance of class List.
  • product v -- yields the product of the elements in the list v.

    i1 : product {1,2,3,4,5}

    o1 = 120

    Code:

         -- ../../../Macaulay2/m2/lists.m2:72
         product List := x -> times toSequence x

    [top][index]
    search for: