[sage-support] Re:

2012-05-08 Thread William Stein
On Tue, May 8, 2012 at 9:12 AM, arman shamse zargar wrote: > Dear Prof. Stein, > > I hope you are doing well. > > Let E: y^2=x^3+Ax+B be a parametric elliptic curve and P_i (i=1,2) be points > on it. > > How one can distinguish that these points are independent (using sage)? Use the height pairin

[sage-support] Re: Polynomial over GF(16)

2012-05-08 Thread ArturZ
I found the error. The following one is correct now: F.=GF(16) for b, c in F^2 : print "x=",b,"y=",c, "T:",b*custom_divide((custom_divide(b,c))^4+a*( custom_divide(b,c))^2+1,a*((custom_divide(b,c))^3+1)+(a^3+a^2)*(( custom_divide(b,c))^2+custom_divide(b,c)))+(b*c).nth_root(2) W dniu wto

[sage-support] Re: Polynomial over GF(16)

2012-05-08 Thread ArturZ
Simple explanation of my problem (if the previous one was too complicated): Let GF(2^4)={0, 1, a, a+1, a^2, a^2+1, a^2+a, a^2+a+1, a^3, a^3+1, a^3+a, a^3+a+ 1, a^3+a^2, a^3+a^2+1, a^3+a^2+a, a^3+a^2+a+1} and a^4+a+1=0. Let T:= x*([c^2((y/x)^4+(y/x))+c^2(1+c+c^2)((y/x)^3+(y/x))]/[(y/x)^4+c(y/x

Re: [sage-support] Re: sage 5.0 rc0 notebook() not working!

2012-05-08 Thread Kjetil brinchmann Halvorsen
Thanks. See inline below. On Tue, May 8, 2012 at 2:36 AM, Keshav Kini wrote: > Kjetil brinchmann Halvorsen writes: >> I will try, but since I have not done this sort of things with sage before, >> ¿How to do it? It is as simple as drop-in repacing one (or a few files) All >> the >> files have t

[sage-support] Polynomial over GF(16)

2012-05-08 Thread ArturZ
Hi, I've one problem in the following task. My calculations: I'm defining following function: def custom_divide(x,y): if x==0: return 0 return y/x Next, I'm calculating all possible values over *GF(16)* for the function *T* : F.=GF(16) for a,b in F^2: pr

Re: [sage-support] Re: ./sage -docbuild ?

2012-05-08 Thread Kjetil brinchmann Halvorsen
see inline. On Tue, May 8, 2012 at 12:11 AM, Johan Grönqvist wrote: > 2012-05-07 22:28, Kjetil brinchmann Halvorsen skrev: >> >> kjetil@kjetil:~/sage/sage-5.0.rc0$ ./sage -docbuild reference pdf >> [...] >> >> ! LaTeX Error: File `utf8x.def' not found. >> [...] >> >> !  ==>  Fatal error occurred,

[sage-support] Re: sage+latex

2012-05-08 Thread P Purkayastha
On Monday, May 7, 2012 9:51:22 PM UTC+8, Nathann Cohen wrote: > > I was going to suggest exactly the same thing in response to the same >> personal email you sent me. It would be much better if you posted such >> questions to sage-support, rather than emailing developers personally. >> > > I