On Friday, December 30, 2016 at 10:05:19 AM UTC-8, Nils Bruin wrote: > > > It looks like sum and product simplify before they evaluate their > variables. This is a bug in maxima, not in the sage interface, I would say. > > Perhaps it's not a bug. It certainly is documented (and indeed, if in sum(T,i,a,b) the variable i would evaluate to anything that is not a variable, we'd get an error. On the other hand, if i is bound to something then it will be hard for T to have any references to i in it. So there is a scoping issue here: the counting variable needs to be not bound.
In any case, if we want support for products we should do that via the same mechanism used for sums (i.e., via an intermediate sr_prod function that takes care of efficient and correct translation to maxima) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
