[sage-support] Re: An importing problem

2009-09-25 Thread William Stein
On Thu, Sep 24, 2009 at 10:51 PM, Kwankyu ekwan...@gmail.com wrote: Hi, I am modifying the file sage/rings/polynomial/term_order.py. If I add the following line import sage.matrix.matrix Then Sage is compiled but Sage does not run but issue the following error: ... ... ...

[sage-support] Re: An importing problem

2009-09-25 Thread Kwankyu
Hi William, Try putting import sage.matrix.matrix as the line *right* before you use sage.matrix.matrix.is_Matrix().  I.e., do the import in the function, not at the module level. That is what I first tried. That results in the same error. I added the line import sage.matrix.matrix in

[sage-support] Can't plot anything

2009-09-25 Thread Swanhild Bernstein
Hallo, I'm new to sage and tried to use it. After the installation I started a worksheet and tried the following circle((0,0), 1, rgbcolor=(1,1,0)) and got the replay /Applications/sage/local/bin/sage-sage: line 349: 4119 Abort trap python $@ What is wrong?

[sage-support] Re: Can't plot anything

2009-09-25 Thread David Joyner
I guess you are using a mac, but can you tell us what version the OS is and what version of Sage you are running? Is it a binary, for example? (This might help others on the list diagnose the problem.) On Fri, Sep 25, 2009 at 7:18 AM, Swanhild Bernstein swanhild.bernst...@math.tu-freiberg.de

[sage-support] Re: Can't plot anything

2009-09-25 Thread Susi
Thanks for your answer, yes, I do use a mac OS X 10.6 (snow leopard) and the Sage version is sage-4.1.1-OSX10.5-intel-64bit Sage has no problem with (simple) calculation, I already tried that and it works fine. Swanhild

[sage-support] Re: sage vmware image visible from Internet

2009-09-25 Thread ma...@mendelu.cz
On 24 zář, 11:08, William Stein wst...@gmail.com wrote: For the record, here is the actual entry I use in /etc/httpd.conf: VirtualHost * RewriteEngine On ServerName sagenb.org ProxyPass/http://sagenb2:8000/ ProxyPassReverse /http://sagenb2:8000/ DocumentRoot /

[sage-support] Re: Can't plot anything

2009-09-25 Thread Minh Nguyen
Hi Swanhild, On Fri, Sep 25, 2009 at 9:48 PM, Susi swanhild.bernst...@math.tu-freiberg.de wrote: Thanks for your answer, yes, I do use a mac OS X 10.6 (snow leopard) and the Sage version is sage-4.1.1-OSX10.5-intel-64bit Snow Leopard is pretty new.

[sage-support] Re: Can't plot anything

2009-09-25 Thread Susi
Thanks for the answer, well, I violated a basic rule: Don't use new systems too early. I will wait for the upgrade and hopefully it won't take too long. I'm specifically intersted in using Sagetex but it won't work without Sage. Swanhild --~--~-~--~~~---~--~~ To

[sage-support] Re: graphics broken in 10.6?

2009-09-25 Thread kcrisman
This problem was just reported again on sage-support. To those who reported it (Gary, Jeannine), did you use the 64-bit binary? That was the one which caused the problem on the most recent report. Does the 32-bit binary work properly for you? (The error messages above all say it's looking for

[sage-support] Re: max and min evaluating symbolic expressions too soon

2009-09-25 Thread Iwan Lappo-Danilewski
This is a really nasty bug.. Symbolic maxima and minima are mathematical standard tools, they should at least be _callable_ in standard sage. One can see the problem this way: p = var(p) show( plot(max(p,3),(p,0,10)) ) show( plot(min(p,3),(p,0,10)) ) Could someone please post a quickhack to

[sage-support] Re: Evaluating a Jacobian

2009-09-25 Thread Sterling
Now how do I evaluate f itself at those same points. I can't seem to figure it out. On Sep 24, 9:47 pm, Jason Grout jason-s...@creativetrax.com wrote: Sterling wrote: How do I evaluate a Jacobian at certain values? For example, I type: x1,x2,x3 = var('x1 x2 x3') f1(x1,x2,x3) = 3*x1 -

[sage-support] Re: graphics broken in 10.6?

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 6:49 AM, kcrisman kcris...@gmail.com wrote: This problem was just reported again on sage-support.  To those who reported it (Gary, Jeannine), did you use the 64-bit binary?  That was the one which caused the problem on the most recent report.  Does the 32-bit binary

[sage-support] Re: Can't plot anything

2009-09-25 Thread Jason Grout
Susi wrote: Thanks for the answer, well, I violated a basic rule: Don't use new systems too early. I will wait for the upgrade and hopefully it won't take too long. I'm specifically intersted in using Sagetex but it won't work without Sage. If I recall correctly, sagetex now can work with

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread Francois Maltey
Hi Burcin, Many thanks for theses details about sage. I try to understand what you prefer, and why. The main reason I left this simplification exp(a)^2 to exp(2*a) while fixing #6948 was that MMA does things this way. All right : MMA is good. Another consideration was that before

[sage-support] Re: Evaluating a Jacobian

2009-09-25 Thread Jason Grout
Sterling wrote: Now how do I evaluate f itself at those same points. I can't seem to figure it out. f is a vector-valued function. Right now, I think the best way to evaluate a vector-valued function is to declare it a vector: f = vector([f1(x1,x2,x3), f2(x1,x2,x3), f3(x1,x2,x3)]) We are

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread kcrisman
On Sep 25, 12:35 pm, Francois Maltey fmal...@nerim.fr wrote: Hi Burcin, Many thanks for theses details about sage. I try to understand what you prefer, and why. The main reason I left this simplification exp(a)^2 to exp(2*a) while fixing #6948 was that MMA does things this way. All

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread Minh Nguyen
Hi Francois, On Sat, Sep 26, 2009 at 2:35 AM, Francois Maltey fmal...@nerim.fr wrote: SNIP 1/ I see you have already patched the exp(a)^b problem. I use sage-4.1.1 and run sage -upgrade, but I don't get any update. Of corse I can wait the next sage, but is there a way to get a

[sage-support] Re: Help with euler's equation.

2009-09-25 Thread Marshall Hampton
You might also find some of the differential equation interact examples helpful, there are three that relate to Euler's method: http://wiki.sagemath.org/interact/diffeq -M. Hampton On Sep 24, 12:52 pm, Jaasiel Ornelas jrodri1...@gmail.com wrote: wow, Iwas trying to figure out how to do

[sage-support] Re: jsMath working on server

2009-09-25 Thread Mikie
Changed to AsciiMath. Working great. I have pretty print all over the server. Most of the functions have pretty print. Works great with FireFox even from a Linux box. If you use IE8 or 7 you will need to install MathPlayer. Try the text2speech function. Really nice. Right click on the

[sage-support] derivatives of trig functions

2009-09-25 Thread john_perry_usm
I'm pretty sure this is a bug, but just in case: sage: diff(sec(x)) D[0](sec)(x) sage: plot(diff(sec(x)), 0, pi/4) ...traceback omitted... AttributeError: 'sage.symbolic.expression.Expression' object has no attribute '_set_extra_kwds' sage: f = diff(sec(x)) sage: f(x=0) D[0](sec)(0) The same

[sage-support] Re: derivatives of trig functions

2009-09-25 Thread Jason Grout
john_perry_usm wrote: I'm pretty sure this is a bug, but just in case: sage: diff(sec(x)) D[0](sec)(x) sage: plot(diff(sec(x)), 0, pi/4) ...traceback omitted... AttributeError: 'sage.symbolic.expression.Expression' object has no attribute '_set_extra_kwds' sage: f = diff(sec(x)) sage: