Bodo Schulze on Mon, 09 Jun 2003 14:58:39 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Problem using factorff() |
Hi all, I'm pretty new to Pari, but re-reading the manual and searching the mail archive didn't give me any clue of how to correctly use factorff(). Here's what I tried: ### Initialize the field ? f=ffinit(2,3) %9 = Mod(1, 2)*x^3 + Mod(1, 2)*x + Mod(1, 2) ### Take a simple polynomial ? a=x^2 %10 = x^2 ### Try to factor it ? factorff(a,2,f) *** polynomial variable must be of higher priority than finite field variable in factorff. After reading the manual once more, I understood I have to define the polynomial before defining the finit field. So I reversed the order. ### Take a simple polynomial ? b=x^2 %11 = x^2 ### Initalize the field ? e=ffinit(2,3) %12 = Mod(1, 2)*x^3 + Mod(1, 2)*x + Mod(1, 2) ### Try to factor the polynomial ? factorff(b,2,e) *** polynomial variable must be of higher priority than finite field variable in factorff. Any comments welcome. Best regards, Bodo Schulze