[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?

[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 <[EMA

[sage-support] Re: Porting Sage to AIX

2008-10-28 Thread Sameer
Michael, William, Thank you so much for the suggestions. I will re-install pexpect and see if it helps. Yes, I am getting closer to the end (~60-70 packages built) but without pexpect/gap it is difficult to get sage to boot up. I will meet and speak to Jose this week and request that you get ac

[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 ve

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

2008-10-28 Thread Jason Grout
Robert Bradshaw wrote: > 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

[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

[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 thi

[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 ei

[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

[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

[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 >>> hav

[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

[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 anythin

[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: > > > > > > 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 out

[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: > > > > > > > > After changing axiom.py in the $SAGE_ROOT/devel/sage tree run "./sage - > > > > b" from $SAGE_ROOT. Note that you a

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff
On Oct 28, 9:55 am, Martin Rubey <[EMAIL PROTECTED]> wrote: > > 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 a

[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey
mabshoff <[EMAIL PROTECTED]> writes: > 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]+\) -> ', >

[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 -

[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? Com

[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: B

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

2008-10-28 Thread Robert Dodier
On Oct 27, 11:00 am, "William Stein" <[EMAIL PROTECTED]> wrote: > > sage: axiom.solve(sqrt(sqrt(4*x^2 + 1) - x^2 - 1), x) > > >+-+ +-+ > > [x= 0,x= \|2 ,x= - \|2 ] > > Sage's solve command is simply a light wrapper around Maxima's, > and Maxima doesn't solve the above: FTR the

[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

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

2008-10-28 Thread Stan Schymanski
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 with a developer background (unlike me) asked him for specific advice. Also, I

[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 B

[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: 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 Stan Schymanski
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 address and click through. If a dire

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

2008-10-28 Thread mabshoff
On Oct 28, 4:18 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear team, > > On Oct 27, 12:15 pm, Simon King <[EMAIL PROTECTED]> wrote: > > > > So, it seems to me that theleakmight come from other compiled > > components. > > Libsingular? This is what I'm using most frequently. Hi Simon, > Now

[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: 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 G

[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: > 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 use

[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

[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 variat

[sage-support] substitutions and save_session

2008-10-28 Thread Stan Schymanski
Dear all, I'm getting horribly confused either about what save_session does or how to substitute variables. Or both, actually. Here is an example: -- | SAGE Version 3.1.4, Release Date: 2008-10-20 | | Type n

[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 sum

[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 ftp://ftp.bgc-jena.mpg.de/ftp/pub/out

[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.=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 t

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

2008-10-28 Thread John Cremona
It should not be difficult to convert the power series over GF(p) to pari. If you do sage: R.=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 currently only implemented over QQ and ZZ. And that