Bill Allombert on Tue, 05 Nov 2019 16:44:05 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Finding Y coordinate |
On Tue, Nov 05, 2019 at 03:19:29PM +0000, Pedro Patricio wrote: > So you want a modular square root? > > ? sqrt(Mod(2, 7)) > %1 = Mod(3, 7) > > I would firstly compute the Legendre symbol in order to check the square > root exists... Indeed, GP has a function ellordinate() that does precisely that. Cheers, Bill