[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

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] Integrating python functions

2011-06-27 Thread Michael Orlitzky
I'll take a simple example. I'd like to integrate (or differentiate, or whatever) the following function, x = var('x') a = x b = 2*x def f(x): if (a(x) < b(x)): return 0 else: return 1 in Python code. Is there a way to make functions like these behave symbolically?

[sage-support] Re: %auto not automatically running code when upload notebook worksheet

2011-06-27 Thread Chris Seberino
> Yes, as I said it starts automatically but it must have no descriptive > comment above the cell. That is a worksheet with only one naked cell > and no description in it. > That's why I suggested to start a new worksheet from scratch. R OK I verified your solution. I have no clue how you figur

[sage-support] Re: %auto not automatically running code when upload notebook worksheet

2011-06-27 Thread Rolf
> Is this going away or is this a desired thing? I have no idea. I hope someone who coded the notebook will answer this. R. -- 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 op