[sage-support] Re: Using Sage on Windows

2008-10-28 Thread William Stein
On Mon, Oct 27, 2008 at 7:26 PM, Jason Grout [EMAIL PROTECTED] wrote: Justin C. Walker wrote: On Oct 27, 2008, at 17:32 , Jason Grout wrote: Justin C. Walker wrote: Thanks, William, On Oct 27, 2008, at 4:26 PM, William Stein wrote: On Mon, Oct 27, 2008 at 4:23 PM, Justin C. Walker

[sage-support] Re: Bug in GP conversion?

2008-10-28 Thread John Cremona
2008/10/28 John Cremona [EMAIL PROTECTED]: It should not be difficult to convert the power series over GF(p) to pari. If you do sage: R.x=PowerSeriesRing(GF(5),x) sage: f = x^2+1 and then sage: f._pari_?? you will see the comment that converson of power series from Sage to pari is

[sage-support] Re: radius of convergence and inequalities

2008-10-28 Thread Stan Schymanski
Hi Jason, This is most interesting, as the web page claimed it was a pre- compiled binary! I did what you said, renamed the 'README' to 'install' and executed it, but I got quite a few error messages, starting with 'tcsh: /bin/ls: No match.' I put them up at

[sage-support] Re: FiniteField_ext_pari fetch_int equivalent

2008-10-28 Thread David Møller Hansen
Thank you for you answer Robert Just the alternative to fetch_int I needed. The problem was that if you try to use fetch_int on a field of larger size than GF(5^5) e.g. GF(3^42), then SAGE will switch to PARI finite field objects and then the fetch_int will not work. But you small alternative

[sage-support] Re: solve, integrate, series

2008-10-28 Thread Stan Schymanski
Just to add another view, I can never remember all the different function names, so I find it very convenient to have namespace pollution as Martin Rubey calls it. If I look for a certain plot function, I would like to be able to type plot and then hit the tab button to see all the possible

[sage-support] Re: solve, integrate, series

2008-10-28 Thread John Cremona
2008/10/28 Stan Schymanski [EMAIL PROTECTED]: Just to add another view, I can never remember all the different function names, so I find it very convenient to have namespace pollution as Martin Rubey calls it. If I look for a certain plot function, I would like to be able to type plot and

[sage-support] Re: How to detect memory leaks?

2008-10-28 Thread Simon King
Dear team, On Oct 27, 12:15 pm, Simon King [EMAIL PROTECTED] wrote: snip So, it seems to me that theleakmight come from other compiled components. Libsingular? This is what I'm using most frequently. Now i am sure that the leak is in libsingular. I produced an F5 version that thoroughly

[sage-support] Re: Porting Sage to AIX

2008-10-28 Thread mabshoff
On Oct 27, 10:42 pm, William Stein [EMAIL PROTECTED] wrote: On Mon, Oct 27, 2008 at 9:15 PM, Sameer [EMAIL PROTECTED] wrote: Hi,    I am trying to port sage 3.1.1 to an IBM Power5 AIX system. After I install gap (in 32 bits), I get: So how far did you get building Sage? If GAP is the

[sage-support] Re: radius of convergence and inequalities

2008-10-28 Thread Jason Grout
Stan Schymanski wrote: Hi Jason, This is most interesting, as the web page claimed it was a pre- compiled binary! I did what you said, renamed the 'README' to 'install' and executed it, but I got quite a few error messages, starting with 'tcsh: /bin/ls: No match.' I put them up at

[sage-support] Re: substitutions and save_session

2008-10-28 Thread Stan Schymanski
UPDATE: The command 'y.subs(a)' as used above does not do what I thought. It just substitutes the variable that comes first in the alphabet with the definition for a!!! In this case it did the right thing coincidentally, but not in the below case:

[sage-support] Re: radius of convergence and inequalities

2008-10-28 Thread Jason Grout
Stan Schymanski wrote: Hi Jason, Sorry about this. For some reasons, it didn't work for me, either, but now I re-applied the permissions and it seems to work again. Could you try it again? ftp://ftp.bgc-jena.mpg.de/pub/outgoing/sschym/qepcad_errors1 If it doesn't work, try the base

[sage-support] Re: radius of convergence and inequalities

2008-10-28 Thread Jason Grout
Stan Schymanski wrote: Hi Jason, Sorry about this. For some reasons, it didn't work for me, either, but now I re-applied the permissions and it seems to work again. Could you try it again? ftp://ftp.bgc-jena.mpg.de/pub/outgoing/sschym/qepcad_errors1 You could also try emailing Chris Brown

[sage-support] Re: radius of convergence and inequalities

2008-10-28 Thread William Stein
On Tue, Oct 28, 2008 at 8:24 AM, Stan Schymanski [EMAIL PROTECTED] wrote: Hi Jason, Thanks for trying to help. I suppose that Chris Brown is in a similar situation as you and does not have an osx box to compile his code. It would probably be more efficient if someone with an osx box and

[sage-support] problems with FriCAS interface

2008-10-28 Thread Martin Rubey
I get the following very weird result: sage: A=axiom.series(z,z=0) sage: A sage: A z sage: B = (1/(1-A^2)) sage: B 246810 11 1 + z + z + z + z + z + O(z ) sage: A 246810 11 1 + z + z + z + z + z + O(z ) sage: A z sage:

[sage-support] Re: [fricas-devel] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey
Bill Page [EMAIL PROTECTED] writes: Expect.__init__(self, name = 'axiom', prompt = '\([0-9]+\) - ', command = sh -c 'axiom -nox -noclef | cat', Apart from modifying axiom.py, do I have to do anything else? Compiling,

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 9:31 am, Martin Rubey [EMAIL PROTECTED] wrote: Hi Martin, Bill Page [EMAIL PROTECTED] writes:       Expect.__init__(self,                       name = 'axiom',                       prompt = '\([0-9]+\) - ',                       command = sh -c 'axiom -nox -noclef | cat',

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote: SNIP After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage - b from $SAGE_ROOT. Note that you are changing the main Sage library and that the repo then has outstanding uncommitted changes. Upgrading such an

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 10:06 am, Martin Rubey [EMAIL PROTECTED] wrote: mabshoff [EMAIL PROTECTED] writes: On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote: SNIP After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage - b from $SAGE_ROOT. Note that you are changing the

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey
mabshoff [EMAIL PROTECTED] writes: On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote: SNIP After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage - b from $SAGE_ROOT. Note that you are changing the main Sage library and that the repo then has outstanding

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey
mabshoff [EMAIL PROTECTED] writes: Hm, not really.  For my students, it's a site wide installation (and I'm not root) and it was already quite an effort to get sage running in the first place. All you need to do is ./sage -i fricas-1.0.3.p0 This doesn't touch anything outside

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 10:23 am, Martin Rubey [EMAIL PROTECTED] wrote: mabshoff [EMAIL PROTECTED] writes: Hm, not really.  For my students, it's a site wide installation (and I'm not root) and it was already quite an effort to get sage running in the first place. All you need to do is  

[sage-support] Re: solve, integrate, series

2008-10-28 Thread Robert Bradshaw
On Oct 27, 2008, at 1:02 PM, Martin Rubey wrote: David Joyner [EMAIL PROTECTED] writes: On Mon, Oct 27, 2008 at 1:59 PM, Martin Rubey [EMAIL PROTECTED] wrote: Dear William, thanks for your quick answer, even though it doesn't make me too happy. I'm having a hard time here, I must

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey
mabshoff [EMAIL PROTECTED] writes: You need to have write permission to the $SAGE_ROOT tree to install any spkg. Would be really nice, if this could be changed in future. Suppose university provides sage, but without package SupiDupi, which is really super trooper. Then I need to install all

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 10:44 am, Martin Rubey [EMAIL PROTECTED] wrote: mabshoff [EMAIL PROTECTED] writes: You need to have write permission to the $SAGE_ROOT tree to install any spkg. Would be really nice, if this could be changed in future.  Suppose university provides sage, but without package

[sage-support] Re: Project Euler

2008-10-28 Thread Robert Bradshaw
On Oct 27, 2008, at 2:15 PM, cesarnda wrote: is there a way to do that in a fancy way in pure cython? No, the cartesian_product_iterator will still work in the context of Sage though, as will Georg's solution. If I needed to do this loop super fast for an arbitrary number of k, I might

[sage-support] Re: Project Euler

2008-10-28 Thread John Cremona
2008/10/28 Robert Bradshaw [EMAIL PROTECTED]: On Oct 27, 2008, at 2:15 PM, cesarnda wrote: is there a way to do that in a fancy way in pure cython? No, the cartesian_product_iterator will still work in the context of Sage though, as will Georg's solution. If I needed to do this loop

[sage-support] Re: Project Euler

2008-10-28 Thread Robert Bradshaw
On Oct 28, 2008, at 12:38 PM, John Cremona wrote: 2008/10/28 Robert Bradshaw [EMAIL PROTECTED]: On Oct 27, 2008, at 2:15 PM, cesarnda wrote: is there a way to do that in a fancy way in pure cython? No, the cartesian_product_iterator will still work in the context of Sage though, as will

[sage-support] Re: solve, integrate, series

2008-10-28 Thread Martin Rubey
Jason Grout [EMAIL PROTECTED] writes: var(t) y=function('y',t) solve(diff(y,t,2)-2*diff(y,t)+diff(y,t)==3, y(t)) to solve for y(t). Doesn't Axiom work this way? Yes. (well, FriCAS is what I'm developing) Actually, one thing which is really nice about FriCAS is that it's very

[sage-support] Re: problem with installing packages

2008-10-28 Thread nostart
Silly me! I used sudo ./sage -optional and everything work fines. It was all about write permissions. Thanks for your answers On 28 Οκτ, 03:06, nostart [EMAIL PROTECTED] wrote: On 28 Οκτ, 02:45, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Oct 27, 5:44 pm, nostart [EMAIL

[sage-support] Fwd: Bug in ploting odd roots?

2008-10-28 Thread William Stein
-- Forwarded message -- From: pong [EMAIL PROTECTED] Date: Tue, Oct 28, 2008 at 9:42 PM Subject: Re: Bug in ploting odd roots? To: William Stein [EMAIL PROTECTED] Hi William, I have a similar problem and found this old post. Is there a less complicated solution by now?