[sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-21 Thread Maarten Derickx
I don't think your proposal will be an enhancement. For two reasons. 1. x (x) an x*(x) have the same amount of characters. 2. currently the python and sage expressions are not white space dependant. Your suggestion would introduce such a whitespace dependancy and will be very unexpected for a l

[sage-support] Re: An integral solved by Mathematica, but not by Sage

2011-08-21 Thread Omri
Thanks - this is exactly what I meant by resolved. Omri -- 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

[sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-21 Thread Chris Seberino
On Aug 21, 1:03 pm, Simon King wrote: > If you have an object that is directly followed by parentheses, then > in Python, which is the underlying language of Sage,  it means > function evaluation. Hence, when you write f(x) then you normally do > NOT want to multiply f and x, but typically f is

Re: [sage-support] Matplotlib: An apparent error

2011-08-21 Thread William Stein
On Sunday, August 21, 2011, Owen Densmore wrote: > I work with a group, many of whom use the numpy, scipy, matplotlib stack, while I much prefer using Sage. So I modified Sage to let me use the matplotlib GUI which is not include in the standard Sage release. > To do so, I followed the instructio

[sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-21 Thread Simon King
On 21 Aug., 20:03, Simon King wrote: > If  f is a function with two variables x,y, and you want to substitute > 2 for x and 3 for y... I meant to say "If f is a symbolic expression...". If it is a properly defined function in two variables x,y, then f(2,3) is fine. Cheers, Simon -- To post to

[sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-21 Thread Simon King
Hi Chris On 21 Aug., 17:19, Chris Seberino wrote: > I want "x (x)" to return x^2.  It doesn't seem to work with any > implicit_multiplication level. The use of implicit multiplication is a very improper way to talk with a CAS, IMHO. You met one of the reasons why it is improper and error prone.

[sage-support] Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-21 Thread Chris Seberino
I want "x (x)" to return x^2. It doesn't seem to work with any implicit_multiplication level. What does the following error mean? Does it mean this will get fixed in a future version? sage: x (x) /usr/local/sage-4.7/local/lib/python2.6/site-packages/IPython/iplib.py: 2073: DeprecationWarning: S

[sage-support] Re: An integral solved by Mathematica, but not by Sage

2011-08-21 Thread achrzesz
sage: (integrate( exp(-x^2/2)/sqrt(2*pi) * sign(x-1), x, -oo, 1 ) +integrate( exp(-x^2/2)/sqrt(2*pi) * sign(x-1), x, 1, oo )).simplify_full() -erf(1/2*sqrt(2)) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubs