> Perhaps something like
>
> P, Q = generic_points(2)
> P+Q # this works (assuming we can do the fraction field arithmetic
> efficiently enough)
>
> where P and Q are defined over the same ring large enough to make
> them independent. (I'm not returning the new curve here because with
> a variable number of points I think this would be more cumbersome,
> but one can always do E.parent()).

Do it like objgens():

E, (P, Q) = generic_points(2)

Nick

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to