Le mardi 31 mai 2011 à 09:43 -0700, Vinzent Steinberg a écrit : > On May 30, 9:52 pm, Mateusz Paprocki <[email protected]> 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.
But do we really need lots of different sum() functions? Is there a difference between ZZ.sum([1, 2, 3]) and EX.sum([1, 2, 3])? -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
