This hasn't been implemented yet. Should I go ahead and add it ? sums for QQ, etc also needed.
See [1] for the types I need. [1] http://groups.google.com/group/sympy/browse_thread/thread/c793f7030853f3da On May 31, 9:43 pm, Vinzent Steinberg <vinzent.steinb...@googlemail.com> wrote: > On May 30, 9:52 pm, Mateusz Paprocki <matt...@gmail.com> wrote: > > > That could work: > > > ZZ.sum([1, 2, 3]) -> sum([1, 2, 3]) > > RR.sum([1.0, 2.0]) -> mpmath.fsum([1.0, 2.0]) > > EX.sum([x, y, z]) -> Add(*[x, y, z]) > > > etc. > > This is exactly what I have been thinking of. > > Vinzent -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.