John Cremona on Fri, 08 Jun 2012 22:05:24 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: ell from j
- From: John Cremona <john.cremona@gmail.com>
- Date: Fri, 8 Jun 2012 21:04:57 +0100
- Delivery-date: Fri, 08 Jun 2012 22:05:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3rBULQIcW3ca2zDtpHjTdnrNSzlWmxSwBRNM2kdE03s=; b=zQzVTk96F1uNqDWCrEZFntBwbzJsOn4/PG2oJGKi6fQzRhNuwgLNkXNoAZdvHk7onL Awr+7NCAimNqzgSvjv1PjP4vtJrpSNKo4Na5PWzaBkFXKtJTxl8eI1BRtb/DLu3eor5y VUvIqqbqQag/jcmVz0p3yhYLZAMy8ggPKBifHd+sqKVzZJqYUqs7VfQL2geoCb3qfw+l UbKMBwyP/19XkNGmVAT6KtHAsesKQzaTwObgMJn69hp9rDxbudTxwDJmKD5ofLUQKoT7 XkhzDPQWW2f87gJ1WEo6vBb/7EAGrAlQB4dmIe8z+V8bfhFI0huLTFJd05REBOykzkf/ 8uIw==
- In-reply-to: <20120608193739.GE3179@yellowpig>
- References: <20120608193739.GE3179@yellowpig>
I wrote a similar function for Sage, called EllipticCurve_from_j, but
it is not normally called directly, rather one does EllipticCurve
(j=...). Can gp use named parameters, so you could do ellinit(j=...)?
The Sage function has special cases for characteristics 2 and 3, and
also over Q it gives a minimal quadratic twist. You are welcome to
reuse that code :)
John
On 8 June 2012 20:37, Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr> wrote:
> Dear PARI developers,
>
> It has been suggested to add a function to PARI which return an elliptic curve with
> a prescribed j-invariant.
>
> An example of such function is
>
> ellfromj(j)=if(j==0,[0,0,0,0,1],if(j==1728,[0,0,0,1,0],[0,0,0,3,2]*(j/(1728-j))));
>
> How should we call it ? What should it return ? (an ell2,an ell5, a smallell, etc ?)
>
> Cheers,
> Bill.
>
- Follow-Ups:
- Re: ell from j
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
- Re: ell from j
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
- References:
- ell from j
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>