Re: [sage-support] Re: loading a PARI script into SAGE

2010-04-24 Thread Robert Bradshaw
On Apr 24, 2010, at 11:32 PM, Alex P wrote: Actually it does not seem to work, I get -- | Sage Version 4.3.4, Release Date: 2010-03-19 | | Type notebook() for the GUI, and license() for information.

[sage-support] Re: loading a PARI script into SAGE

2010-04-24 Thread Alex P
Actually it does not seem to work, I get -- | Sage Version 4.3.4, Release Date: 2010-03-19 | | Type notebook() for the GUI, and license() for information.|

Re: [sage-support] Load data from from other worksheet

2010-04-24 Thread Robert Bradshaw
On Apr 21, 2010, at 4:52 PM, Michael Rybalkin wrote: I have installed local Sage server. I need some kind of workspace with multiple worksheets and common data storage while working via web interface. What can you recommend in this case? There aren't currently any good solutions to this unles

Re: [sage-support] power function with runtime error

2010-04-24 Thread Robert Bradshaw
On Apr 23, 2010, at 1:37 AM, bb wrote: Mike Hansen schrieb: On Mon, Apr 19, 2010 at 11:52 AM, bb wrote: I get a runtime error, but just would expect infinity! Is there something wrong or any explanation? This is because when you do 2^3^4^5 you are computing that number exactly as an int

Re: [sage-support] Large monomial exponents

2010-04-24 Thread Robert Bradshaw
On Apr 24, 2010, at 5:36 PM, Michael Rybalkin wrote: How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R. = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: time

[sage-support] Re: ¡RuntimeError: Unable to determi ne branch?!

2010-04-24 Thread Yonatan
The "shot in the dark" removed my problem. Thank you very much Alex Ghitza. On 24 abr, 22:44, Alex Ghitza wrote: > Hi, > > > > On Sat, 24 Apr 2010 20:26:33 -0700 (PDT), Yonatan > wrote: > >  *Debian lenny 5.0.4 > >  *Linux kernel  2.6.26-2-686 > >  *gnome 2.22.3 > > >  *sage-4.3.5-linux-32bit-d

Re: [sage-support] ¡RuntimeError: Unable to determi ne branch?!

2010-04-24 Thread Alex Ghitza
Hi, On Sat, 24 Apr 2010 20:26:33 -0700 (PDT), Yonatan wrote: > *Debian lenny 5.0.4 > *Linux kernel 2.6.26-2-686 > *gnome 2.22.3 > > *sage-4.3.5-linux-32bit-debian_5.0-i686-Linux (version that i have. I > downloaded it form official page: sage-4.3.5-linux-32bit-debian_5.0- > i686-Linux.

[sage-support] ¡RuntimeError: Unable to determine b ranch?!

2010-04-24 Thread Yonatan
*Debian lenny 5.0.4 *Linux kernel 2.6.26-2-686 *gnome 2.22.3 *sage-4.3.5-linux-32bit-debian_5.0-i686-Linux (version that i have. I downloaded it form official page: sage-4.3.5-linux-32bit-debian_5.0- i686-Linux.tar.lzma) I can't to load any library of sage (i am a new user of sage).

[sage-support] Re: I can't get start: ¡RuntimeError : Unable to determine branch?!

2010-04-24 Thread Minh Nguyen
Hi, On Sun, Apr 25, 2010 at 11:33 AM, Yonatan wrote: > *Debian lenny 5.0.4 > *Linux kernel  2.6.26-2-686 > *gnome 2.22.3 > > *sage-4.3.5-linux-32bit-debian_5.0-i686-Linux (version that i have. I > downloaded it form official page: sage-4.3.5-linux-32bit-debian_5.0- > i686-Linux.tar.lzma) > > > I

[sage-support] Large monomial exponents

2010-04-24 Thread Michael Rybalkin
How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R. = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: time tmp = x^(10^7) Monomial x^(10^8) construction uses all

[sage-support] Re: loading a PARI script into SAGE

2010-04-24 Thread Alex P
To William Stein: Great thanks. To John Cremona: Sorry about that, won't happen again. On Apr 24, 3:10 pm, William Stein wrote: > On Fri, Apr 23, 2010 at 5:23 PM, Alex P wrote: > > Hi all, > > I was trying to use a PARI/GP script in SAGE. I tried gp('\r > > name_of_file.gp'), but SAGE said could

Re: [sage-support] loading a PARI script into SAGE

2010-04-24 Thread William Stein
On Fri, Apr 23, 2010 at 5:23 PM, Alex P wrote: > Hi all, > I was trying to use a PARI/GP script in SAGE. I tried gp('\r > name_of_file.gp'), but SAGE said could not get the file. > So is there any way to do this. You need sage: gp("\\r name.gp") or sage: gp(r"\r name.gp") William > >

[sage-support] Fwd: loading a PARI script into SAGE

2010-04-24 Thread John Cremona
Please don't move discussions off list. Others may want to contribute or just read the discussion. -- Forwarded message -- From: Alex P Date: 24 April 2010 22:15 Subject: Re: loading a PARI script into SAGE To: John Cremona Yes. I want to be in SAGE and call the function in P

[sage-support] Re: maximum doesn't launch

2010-04-24 Thread Mathieu Roux
now it's ok i had to recompile but maxima works maybe the first time, i used export SAGE64=yes and that's what didn't work... don't know! thank you Mathieu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...

[sage-support] Re: loading a PARI script into SAGE

2010-04-24 Thread Alex P
Yes. I want to be in SAGE and call the function in PARI that I have created. For example if it is a function that is already in PARI (say I want to use the sqrt function in PARI) then I do gp.sqrt(Mod(4, 7)) OR gp('sqrt(Mod(4, 7))') So I want to do the same with my function. I was hoping that t

[sage-support] Re: loading a PARI script into SAGE

2010-04-24 Thread John Cremona
It works to do this: %gp \r file.gp but then you are in a separate gp session. Are you hoping to read in stuff from your gp file and have the same quantities / functions available from Sage? John Cremona On Apr 24, 1:23 am, Alex P wrote: > Hi all, > I was trying to use a PARI/GP script in SAG

Re: [sage-support] Some leakage?

2010-04-24 Thread William Stein
On Saturday, April 24, 2010, Rolandb wrote: > Hi, consider the following: > > timeit('factor(3^89-1, proof=False)') > timeit('factor(3^89-1,proof=True)') > timeit('factor(3^89-1, proof=False)') > timeit('factor(3^89-1,proof=True)') > > 5 loops, best of 3: 188 ms per loop > 5 loops, best of 3: 195

[sage-support] Some leakage?

2010-04-24 Thread Rolandb
Hi, consider the following: timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') 5 loops, best of 3: 188 ms per loop 5 loops, best of 3: 195 ms per loop 5 loops, best of 3: 194 ms per loop 5 loops, best

Re: [sage-support] Re: maximum doesn't launch

2010-04-24 Thread Tim Joseph Dumol
It means that the ecl wasn't installed properly. Which probably means that you'll need to recompile Sage from scratch. On Sat, Apr 24, 2010 at 4:00 PM, Mathieu Roux wrote: > well... > with sage -f maxima, it made an error > The end of the compilling messages was: > > configure: error: No lisp im

[sage-support] Re: maximum doesn't launch

2010-04-24 Thread Mathieu Roux
well... with sage -f maxima, it made an error The end of the compilling messages was: configure: error: No lisp implementation specified and none of the default executables clisp(clisp),gcl(GCL),lisp(CMUCL),scl(SCL),sbcl(SBCL),lisp(ACL),openmcl(OpenMCL) were found in PATH *