Rgx Warer on Tue, 12 Feb 2019 18:13:30 +0100


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

Re: Integer solving


Thank you, Bill.
What algorithm is used in this function?
I need to solve cubic equations with large coefficients and accuracy is very important for me.

вт, 12 февр. 2019 г. в 23:54, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
On Tue, Feb 12, 2019 at 11:30:20PM +0700, Rgx Warer wrote:
> Hello!
> I faced the problem in my work on solving diophantine equations.
> I must be able to find the integer roots of a large number of cubic
> equations.
> Are there any ready-made tools in Pari that can help me with this? The best
> that I could find is the procedure FACTOR. But are there any other ways to
> solve equations with one variable in integers?

You can use nfroots(,...)

? nfroots(,x^3+2*x+3)
%8 = [-1]

Cheers,
Bill