philabuster wrote: > This ordering makes it extremely difficult to do index association > from the j-th term of the expansion back into constituent indices of > each sum (i0,i1,i2,i3);
Well, Sage punts to Maxima (for the moment, anyway) to compute the expansion. The terms are computed in the order you want, but displayed in the reverse order by default. I think powerdisp:true will give the result you expected. > What was the rationale? The default ordering displays polynomials in order of decreasing powers. > Given j, how would you calculate (i0,i1,i2,i3,...,ik) considering > Sage's expansion order? Well, you can get the addends via the args function in Maxima; e.g. powerdisp:true; foo:expand(whatever); args(foo); => some list. Likewise you can get the multiplicands of each term from args. I don't know how to get that through Sage. FWIW Robert Dodier --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---