Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2909 by [email protected]: gosper_sum dosctring needs editing
http://code.google.com/p/sympy/issues/detail?id=2909

I find the gosper_sum dosctring to be very confusing with subscript and function notation, e.g. g(0), g_{n+1}, and find the description of the result hard to interpret in light of the following example (which should probably be included there to help make things clear):

    >>> fk = (4*k + 1)*factorial(k)/factorial(2*k + 1)
    >>> sn = gosper_sum(fk, (k, 0, n))
    >>> s012 = sum(fk.subs(k,i) for i in [0,1,2])
    >>> sn.subs(n, 2).equals(s012)
    True



--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to