[sage-support] associativity of addition on ell. curves

2008-01-09 Thread achrzesz
Hello My question is connected with file http://modular.fas.harvard.edu/ent/ent_py and especially with checking the associativity law of addition on ell. curves. When I was trying to perform the same calculations in Sage I observed some surprising (me) behaviour. Enclosed is the corresponding

[sage-support] associativity of addition on elliptic curves

2008-01-09 Thread Andrzej Chrzęszczyk
Hello My question is connected with file http://modular.fas.harvard.edu/ent/ent_py and especially with checking the associativity law of addition on ell. curves. When I was trying to perform the same calculations in Sage I observed some surprising (me) behaviour. Enclosed is the corresponding

[sage-support]

2008-01-09 Thread Andrzej Chrzęszczyk
Hello, I'm sory for repeating the same post 2 times (associativity...) Please remove one of them if possible. achrzesz Zagłosuj i zgarnij 10.000 złotych! Wybierz z nami Internetowego SportoWWWca Roku. Oddaj swój głos na najlepszego. -

[sage-support] Sage LAN server

2008-01-09 Thread Magnus
First let me say that I am a sage-newbie. I work at a high-school in Sweden as a math teacher. Our curriculum states that we are to teach our students in the using of computer programs when solving math problems. My problem is that our technicians (sp?) have succeded in installing sage at an

[sage-support] Re: Sage LAN server

2008-01-09 Thread William Stein
On Jan 9, 2008 6:53 AM, Magnus [EMAIL PROTECTED] wrote: First let me say that I am a sage-newbie. I work at a high-school in Sweden as a math teacher. Our curriculum states that we are to teach our students in the using of computer programs when solving math problems. My problem is that

[sage-support] Re: Sage LAN server

2008-01-09 Thread bill purvis
On Wednesday 09 January 2008, William Stein wrote: On Jan 9, 2008 6:53 AM, Magnus [EMAIL PROTECTED] wrote: First let me say that I am a sage-newbie. I work at a high-school in Sweden as a math teacher. Our curriculum states that we are to teach our students in the using of computer

[sage-support] Re: associativity of addition on ell. curves

2008-01-09 Thread John Cremona
As far as I know you cannot check associativity in this naive way. For a start, nowhere in your code do you use the equation of the curve. If that is (say) y^2=x^3+a*x+b, then your equation will only be correct modulo the relations y1^2=x1^3+a*x1+b and so on. However, even with that I don't

[sage-support] Re: Sage LAN server

2008-01-09 Thread bill purvis
On Wednesday 09 January 2008, bill purvis wrote: On Wednesday 09 January 2008, William Stein wrote: On Jan 9, 2008 6:53 AM, Magnus [EMAIL PROTECTED] wrote: First let me say that I am a sage-newbie. I work at a high-school in Sweden as a math teacher. Our curriculum states that we are to

[sage-support] Re: associativity of addition on ell. curves

2008-01-09 Thread John Cremona
Thanks Paul, I was too lazy to try that myself. Now I am puzzled by what I remembered being possible and impossible, but never mind -- we have answered the original question! John On 09/01/2008, Paul Zimmermann [EMAIL PROTECTED] wrote: John, As far as I know you cannot check

[sage-support] vmware for Sage 2.9.2

2008-01-09 Thread Peter
Hi, I tried the Sage 2.9.2 vmware for Windows version (downloaded from www.sagemath.org), and it does not seems to have the jmol 3d graphics (this is on a Dell laptop with XP). version() reports 2.9.1, so perhaps it is a previous version? The vmware 2.9.2 distributed by DVD at the JMM08

[sage-support] strange list behavior

2008-01-09 Thread benjamin antieau
Code for the worksheet attached below. There must surely be a simple answer to this problem, but I have not been able to figure it out. I loop through i,j print the list [i,j], and append the list to pts. However, once appended to points something goes wrong, and all that points sees are the

[sage-support] Re: strange list behavior

2008-01-09 Thread Jonathan Bober
Hi. short answer: immediately after the line while i 4: add the line P = [0,0] Your problem seems to be that when you put something in a list, python does not make a copy of it, but instead stores that actual object in the list. So the line pts.append(P) appends the object P (or,

[sage-support] Re: strange list behavior

2008-01-09 Thread benjamin antieau
This indeed fixes the problem, and clarifies some other things for me as well. Thanks for your quick response Jonathan. Ben On Jan 9, 11:59 pm, Jonathan Bober [EMAIL PROTECTED] wrote: Hi. short answer: immediately after the line while i 4: add the line P = [0,0] Your problem