<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>product</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_product_lp__List_rp.html">next</a> | <a href="___Product.html">previous</a> | <a href="_product_lp__List_rp.html">forward</a> | <a href="___Product.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>product</h1> <div class="single"><h2>Description</h2> <div><tt>product</tt> provides the product of the members of a list or set, optionally with a function applied to each one.</div> </div> <div class="waystouse"><h2>Ways to use <tt>product</tt> :</h2> <ul><li><span><a href="_product_lp__List_rp.html" title="product of elements">product(List)</a> -- product of elements</span></li> <li><span><a href="_product_lp__Set_rp.html" title="product of elements">product(Set)</a> -- product of elements</span></li> <li><span><a href="_product_lp__Tally_rp.html" title="product of elements">product(Tally)</a> -- product of elements</span></li> <li><span><a href="_product_lp__Visible__List_cm__Function_rp.html" title="product of values of a function">product(VisibleList,Function)</a> -- product of values of a function</span></li> <li><span><a href="_product_lp__Visible__List_cm__Visible__List_cm__Function_rp.html" title="product of results of applying a function pairwise">product(VisibleList,VisibleList,Function)</a> -- product of results of applying a function pairwise</span></li> <li><span><a href="_product_lp__Z__Z_cm__Function_rp.html" title="product of consecutive values of a function">product(ZZ,Function)</a> -- product of consecutive values of a function</span></li> </ul> </div> </div> </body> </html>