Re: [sage-support] Re: Possible to make implicit multiplication allow "(1 + 2) (3 + 4)" ?

2011-06-27 Thread Robert Bradshaw
On Mon, Jun 27, 2011 at 8:23 AM, Chris Seberino wrote: > > > On Jun 24, 11:59 pm, Jason Grout wrote: >> sage: implicit_mul('diff(f,x)(3)', level=10) >> 'diff(f,x)*(3)' >> >> which is definitely not what I intended. > > Jason > > Would you agree a good robust solution to your issue would be for an

[sage-support] Re: Possible to make implicit multiplication allow "(1 + 2) (3 + 4)" ?

2011-06-27 Thread Chris Seberino
On Jun 24, 11:59 pm, Jason Grout wrote: > sage: implicit_mul('diff(f,x)(3)', level=10) > 'diff(f,x)*(3)' > > which is definitely not what I intended. Jason Would you agree a good robust solution to your issue would be for an implicit_mul level that *ONLY* converted spaces to multiplication? I

[sage-support] Re: Possible to make implicit multiplication allow "(1 + 2) (3 + 4)" ?

2011-06-24 Thread Jason Grout
On 6/24/11 11:02 PM, Chris Seberino wrote: Jason Thanks. Usually I google and read what I find. This one slipped my net. My apologies. I'll try harder to search. I see the "may mangle call statements" warning on the link you sent. I don't see an example of a "mangling". I increased my level

[sage-support] Re: Possible to make implicit multiplication allow "(1 + 2) (3 + 4)" ?

2011-06-24 Thread Chris Seberino
Jason Thanks. Usually I google and read what I find. This one slipped my net. My apologies. I'll try harder to search. I see the "may mangle call statements" warning on the link you sent. I don't see an example of a "mangling". I increased my level to 10 and tried to mangle something but I fai

[sage-support] Re: Possible to make implicit multiplication allow "(1 + 2) (3 + 4)" ?

2011-06-24 Thread Jason Grout
On 6/24/11 2:17 AM, Chris Seberino wrote: I love implicit_multiplication(True) but I noticed it doesn't work between parens!? How make this work?... sage: (1 + 2) (3 + 4) --- TypeError Traceb