Bill Allombert on Sat, 12 Oct 2024 22:36:46 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: possible request for new function to elliptic curves section


On Sat, Oct 12, 2024 at 01:26:15PM -0700, American Citizen wrote:
> Would it be possible to have a new function added to GP Pari, such that
> supplying just the x-coordinate for an elliptic curve would return a 0 or a
> 1 depending upon whether or not x is a legitimate value? 

Use ellordinate !

??ellordinate
ellordinate(E,x):

   Gives a 0, 1 or 2-component vector containing the y-coordinates of the points of the curve E having x as x-coordinate.

Cheers,
Bill.