PROD INDEX

PROD _ _ _ _ _ _ _ _ _ _ _ _ operator

The operator prod returns the indefinite or definite product of a given expression.

syntax:

prod(<expr>,<k>[,<lolim> [,<uplim> ]])

where <expr> is the expression to be multiplied, <k> is the control variable (a kernel), 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.

examples:


prod(k/(k-2),k);

  k*( - k + 1)