[sage-support] Re: Symbolic algebra expansion of products of sums

2009-04-24 Thread Robert Dodier
ma...@mendelu.cz wrote: You can use commands orderless and ordergreat in Maxima to change the default behavior. For the record, I recommend against that; it's not really the right way to resolve this problem. I'll post another message with a different resolution. Robert Dodier

[sage-support] Re: Symbolic algebra expansion of products of sums

2009-04-24 Thread Robert Dodier
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

[sage-support] Re: Symbolic algebra expansion of products of sums

2009-04-23 Thread William Stein
On Thu, Apr 23, 2009 at 6:44 AM, philabuster pollock.p...@gmail.com wrote: Hi, I was wondering why Sage expands products of sums in an unexpected order: var('a0,a1,b0,b1,b2,c0,c1,c2,c3,d0,d1,d2,d3,d4') The ordering of these terms is determined by maxima -- Sage doesn't control that at

[sage-support] Re: Symbolic algebra expansion of products of sums

2009-04-23 Thread ma...@mendelu.cz
On 23 Dub, 20:38, William Stein wst...@gmail.com wrote: On Thu, Apr 23, 2009 at 6:44 AM, philabuster pollock.p...@gmail.com wrote: Hi, I was wondering why Sage expands products of sums in an unexpected order: var('a0,a1,b0,b1,b2,c0,c1,c2,c3,d0,d1,d2,d3,d4') The ordering of these