On Thu, Dec 30, 2010 at 9:51 PM, Foad Khoshnam <[email protected]> wrote: > Hi > In order to completing my programming I need to have a random point of > the jacobian group of a hyper elliptic curve. > Is there any function in sage for my programming using? I know there > exist a such function in magma ,but I don't have access to magma. > Thanks > --
If there were a single function to do this, here is what it would be called and how you would use it: sage: k = GF(7) sage: R.<x> = k[] sage: C = HyperellipticCurve(x^5 + x + 1) sage: J = C.jacobian() sage: G = J(k) sage: G.random_element() Traceback (most recent call last): ... AttributeError: 'JacobianHomset_divisor_classes_with_category' object has no attribute 'random_element' ----- Thus you'll either have to get access to Magma, or understand the mathematics/algorithms involved in generating a (uniform?) random point on the Jacobian of a hyperelliptic curve, then implement an algorithm in Sage, and run it. If you implement something, I hope you'll make it available to other Sage developers, e.g., by posting a ticket to http://trac.sagemath.org/sage_trac/, or at least posting your code here. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
