Artifact 2d2033a9ab983ca77262994a15011b41ffec34c1660c6c2ae87bf5bdc50fa513:
- Executable file
r37/lisp/csl/html/r37_0183.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 963) [annotate] [blame] [check-ins using] [more...]
<A NAME=SUM> <TITLE>SUM</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>SUM</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The operator <em>sum</em> returns the indefinite or definite summation of a given expression. <P> <P> <P> <H3> syntax: </H3> <em>sum</em>(<expr>,<k>[,<lolim> [,<uplim> ]]) <P> <P> <P> <P> where <expr> is the expression to be added, <k> is the control variable (a <A HREF=r37_0002.html>kernel</A>), and <lolim> and <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> sum(4n**3,n); 2 2 n *(n + 2*n + 1) sum(2a+2k*r,k,0,n-1); n*(2*a + n*r - r) </TT></PRE><P>