Re: [sage-support] Wrong documentation for sum() function?
Hi Michael, On Tue, Mar 23, 2010 at 4:25 AM, Michael wrote: > So I'm assuming that the documentation is outdated. Maybe this > is well know, but I hope it is ok to post this here. Could you try the examples in the documentation at [1] and see if it's what you wanted? [1] http://www.sagemath.org/doc/reference/sage/misc/functional.html#sage.misc.functional.symbolic_sum -- Regards Minh Van Nguyen -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org To unsubscribe from this group, send email to sage-support+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[sage-support] Wrong documentation for sum() function?
When ask sage about the function sum() sage: sum? I get told to use it the following way: sage: sum(expression, k, 1, n) which should give me back the summation of "expression" over the index k from 1 to n. Unfortunately this gives me an error message like "summation index needed". I found out searching the internet that writing instead: sum(expression for k in (1..n)) works. So I'm assuming that the documentation is outdated. Maybe this is well know, but I hope it is ok to post this here. Cheers Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org To unsubscribe from this group, send email to sage-support+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.