[sage-support] Re: Memory management issues?

2007-08-10 Thread didier deshommes
2007/8/10, Justin <[EMAIL PROTECTED]>: > > Hi again everyone, > > I'm playing around with this project exploring Hasse's theorem for > Elliptic Curves over prime order field and playing with the > distributions that I get. The bottom line is that I execute alot of > lines like this: > > --

[sage-support] Re: SAGE and pythonisms

2007-08-10 Thread William Stein
On 8/10/07, Justin C. Walker <[EMAIL PROTECTED]> wrote: > Hi, all, > > I'm poking at a chunk of python code that includes expressions like > "8*[0]" ([0,,,]). SAGE barfs when it sees it. The error is > "TypeError": > unsupported operand parent(s) for '*': 'Integer Ring' and > '' > > Is this

[sage-support] SAGE and pythonisms

2007-08-10 Thread Justin C. Walker
Hi, all, I'm poking at a chunk of python code that includes expressions like "8*[0]" ([0,,,]). SAGE barfs when it sees it. The error is "TypeError": unsupported operand parent(s) for '*': 'Integer Ring' and '' Is this a bug or feature? Justin -- Justin C. Walker, Curmudgeon-At-La

[sage-support] Re: Memory management issues?

2007-08-10 Thread John Cremona
It is hard to know what would be a good read for you without knowing more about your mathematical level and background -- and this is not exactly a SAGE-related discussion to it might be more polite to continue it off-list. On 8/10/07, Justin <[EMAIL PROTECTED]> wrote: > > Thanks again for bearin

[sage-support] Re: Memory management issues?

2007-08-10 Thread Justin
Thanks again for bearing with me. aplist was all I needed. Tate & Silverman doesn't have much on Modular forms, would Silverman's "Arithmetic of Elliptic Curves" be better suited? Any reference is welcome. Everyone has been very helpful. -Justin On Aug 10, 1:29 pm, "John Cremona" <[EMAIL PROTEC

[sage-support] Re: Fwd: Computer Algerbra Systems (not spam)

2007-08-10 Thread William Stein
On 8/10/07, Ted Kosan <[EMAIL PROTECTED]> wrote: > William wrote: > > > From the guy who started this thread: > > - > > David Collierto me > > > > Hello William, > > > > Now that's what I call a response! Thank you. > > > > I'll take a look at Sage and give you some feedback. I a

[sage-support] Re: Fwd: Computer Algerbra Systems (not spam)

2007-08-10 Thread Ted Kosan
William wrote: > From the guy who started this thread: > - > David Collierto me > > Hello William, > > Now that's what I call a response! Thank you. > > I'll take a look at Sage and give you some feedback. I am looking for a way > to contribute to the school, maybe this is an ap

[sage-support] Re: Memory management issues?

2007-08-10 Thread John Cremona
OK, I don't have time for a whole lecture on the subject but in a nutshell: Each elliptic curve (over Q) has a modular form associated to it (as proved by Wiles et al), which is a power series whose coefficents are denoted a_n. These are easily determined from the a_p (for prime p). And the defi

[sage-support] Re: Memory management issues?

2007-08-10 Thread Justin
Thank you both for your recommendations. Seeing that I'm new to SAGE and Python, could you explain what these different solutions actually do? I've just been teaching myself out of Tate and Silverman's "Rational Points on Elliptic Curves" and I see that aplist has something to do with the fourie

[sage-support] Re: Memory management issues?

2007-08-10 Thread William Stein
On 8/10/07, John Cremona <[EMAIL PROTECTED]> wrote: > > Two comments, neither about memory management as such: > > (1) Why do you need to store all the primes and curves? Why don't you > loop through primes? > > (2) EllipticCurve([0,-1,1,0,0]).aplist(1) gives you almost what > you want (just

[sage-support] Re: Fwd: GUI for SAGE

2007-08-10 Thread William Stein
On 8/10/07, Alec Mihailovs <[EMAIL PROTECTED]> wrote: > > Can you recommend an IDE that supports SAGE? I like DrPython...but I > > haven't been able to get it to run my SAGE programs (I'm running SAGE from > > a virtual machine on my PC). The Notebook interface lacks colored text > > and auto-ind

[sage-support] Re: Memory management issues?

2007-08-10 Thread John Cremona
Two comments, neither about memory management as such: (1) Why do you need to store all the primes and curves? Why don't you loop through primes? (2) EllipticCurve([0,-1,1,0,0]).aplist(1) gives you almost what you want (just replace the i'th entry ap by 1+p-ap where p is the ith prime): e=

[sage-support] Re: Fwd: Computer Algerbra Systems (not spam)

2007-08-10 Thread William Stein
>From the guy who started this thread: - David Collierto me Hello William, Now that's what I call a response! Thank you. I'll take a look at Sage and give you some feedback. I am looking for a way to contribute to the school, maybe this is an appropriate tool. DRC On

[sage-support] Re: more I/O questions

2007-08-10 Thread William Stein
On 8/10/07, mak <[EMAIL PROTECTED]> wrote: > > I'm puzzled by the logic behind loading files: > > I have a file called 'con.sage' (which contains a simple assignment of > a sequence to a variable) saved in the directory from which I run > sage. In the notebook, I type > > load 'con.sage' > > and

[sage-support] Memory management issues?

2007-08-10 Thread Justin
Hi again everyone, I'm playing around with this project exploring Hasse's theorem for Elliptic Curves over prime order field and playing with the distributions that I get. The bottom line is that I execute alot of lines like this: --- sage: P=prime_range(8000,9000) sage: L=[EllipticCurve

[sage-support] Re: using the sage notebook

2007-08-10 Thread William Stein
On 8/9/07, Daryl <[EMAIL PROTECTED]> wrote: > > I must be doing something wrong. At the sage login prompt I type > notebook(address="xxx.xxx.x.xxx"), where the x's are the IP address. > But the system responds by asking for a password. Please tell me the > problem. > The first time you use the

[sage-support] Re: beginner friendly notebook exaple

2007-08-10 Thread William Stein
On 8/9/07, Jurgis Pralgauskis <[EMAIL PROTECTED]> wrote: > Hello, > > I gave a http://www.sagenb.org/ link to some of my math coleagues, > but they said, thet didn't understand anything there.. That's unfortunate. > Personaly the earlier notebook interface was more attractive > (understandable f

[sage-support] Re: Determining IP address of VMware machine

2007-08-10 Thread William Stein
On 8/9/07, David Stahl <[EMAIL PROTECTED]> wrote: > > Thank you William. Can you tell me how to determine the ip address of > the vmware machine? Other postings imply that just typing "notebook" > will give it to you but that's not what I have experienced. > At the sage prompt type sage: !/

[sage-support] Re: [sage-devel] Sympy and SAGE

2007-08-10 Thread William Stein
On 8/10/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > What version of SymPy is in SAGE 2.7.3? It would be nice if it was > easy to find out what version of SymPy is installed in a given SAGE > install. > Sympy provides that info: sage: import sympy sage: sympy.__version__ '0.4.2' This is som

[sage-support] Re: How to use SAGE from within C++ CGI?

2007-08-10 Thread William Stein
On 8/9/07, Jonathan Bober <[EMAIL PROTECTED]> wrote: > On Tue, 2007-08-07 at 23:37 -0700, Yigal wrote: > > Hi, > > I'm building web site for interactive solving school math problems > > using C++ CGI and open source math software. > > As I've been told in maxima mailing list, instead of reinventin

[sage-support] Re: Fwd: Computer Algerbra Systems (not spam)

2007-08-10 Thread William Stein
On 8/9/07, Ted Kosan <[EMAIL PROTECTED]> wrote: > > E.g., sage-edu, sage-youth, sage-newbie, etc. > > I think that Timothy is correct about sage-edu being too general and > sage-youth might make older beginners feel that the group is not for > them. > > I personally like sage-newbie and I can't th

[sage-support] more I/O questions

2007-08-10 Thread mak
I'm puzzled by the logic behind loading files: I have a file called 'con.sage' (which contains a simple assignment of a sequence to a variable) saved in the directory from which I run sage. In the notebook, I type load 'con.sage' and it loads no problem. I want, however, for the file to load

[sage-support] Re: Fwd: GUI for SAGE

2007-08-10 Thread Alec Mihailovs
From: William Stein Begin forwarded message: From: [EMAIL PROTECTED] (Erik D. Jacobson 04) > Can you recommend an IDE that supports SAGE? I like DrPython...but I > haven't been able to get it to run my SAGE programs (I'm running SAGE from > a virtual machine on my PC). The Notebook interface