Hello, > It's good that you asked. Do this instead: > > sage: E=EllipticCurve(RR,[0,-1]) > sage: x0=RR(4)^(1/3) > sage: y0=sqrt(RR(3)) > sage: p=E.point([x0,y0,1], check=False) > sage: p > (1.58740105196819 : 1.73205080756887 : 1) > sage: 2*p, 3*p > ((1.58740105196819 : -1.73205080756887 : 1), (0.000000000000000 : > 1.00000000000000 : 0.000000000000000)) > > NOTE: It's important to input [x0,y0,1], i.e., a 3-tuple, since check=False > really does no > checking about the input, and you'll get surprising failures later if you're > not careful.
Thanks! I could not find that in the Reference Manual... On the other hand, it seems that Sage (or Python) does not handle equality of reals very well: sage: sqrt(2)==sqrt(2) True sage: sqrt(2)==sqrt(2)+1-1 False This might give me some problems when comparing two points/vectors... (I can find a way around it for sure. Again, just in case...) Thanks again! Luis --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---