Karim.Belabas on Wed, 4 Apr 2001 17:53:27 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: SquareFree Polynomial |
On Wed, 4 Apr 2001, Jean-Marc Sac-Epée wrote: > I would like to know if there exists a pari command to test if a > polynomial is squarefree or not. > I can always use something like "if(degree(gcd0(pol,derpol,0)) == 0)" , > but is there something to do it quicker? Quicker in the sense of typing time: if (issquarefree(pol)) ... Quicker in the sense of execution time: No. What's the domain for the coefficients ? Z ? Karim. -- Karim Belabas email: Karim.Belabas@math.u-psud.fr Dep. de Mathematiques, Bat. 425 Universite Paris-Sud Tel: (00 33) 1 69 15 57 48 F-91405 Orsay (France) Fax: (00 33) 1 69 15 60 19 -- PARI/GP Home Page: http://www.parigp-home.de/