Comment #9 on issue 2639 by [email protected]: Product() is seriously broken http://code.google.com/p/sympy/issues/detail?id=2639
I was updating Sum and Product to have is_number and is_zero methods and fixed some of the things of Product. btw, the 3 (Sum, Product and Integral) don't unify quite like one would expect since Integral always has the integration variable in its function whereas sum and product do not. What remains is:
- Product(f(n), n, 1, k) syntax is allowed, and, furthermore, it does something different than Product(f(n), (n, 1, k))! (the former returns an unevaluated product and the latter raises NotImplementedError)
- Product() tries to evaluate, but using a different algorithm than product()!
- Product(f(n), (n, 1, k)) prints as Product(f(n), n, 1, k) - Product should allow multiple products (as noted in comment 7) -- 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.
