<A NAME=PROD>
<TITLE>PROD</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>PROD</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The operator <em>prod</em> returns
the indefinite or definite product of a given expression.
<P>
<P>
<P> <H3>
syntax: </H3>
<em>prod</em>(<expr>,<k>[,<lolim> [,<uplim> ]])
<P>
<P>
<P>
<P>
where <expr> is the expression to be multiplied, <k> is the
control variable (a
<A HREF=r37_0002.html>kernel</A>), and <lolim> and <uplim>
uplim are the optional lower and upper limits. If <uplim> is
not supplied the upper limit is taken as <k>. The
Gosper algorithm is used. If there is no closed form solution,
the operator returns the input unchanged.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
prod(k/(k-2),k);
k*( - k + 1)
</TT></PRE><P>