Mark Chimley on Fri, 11 May 2001 08:28:52 +0100 (BST)


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

Changing PARI types


I have used "ground" to round the coefficients of a polynomial to the
nearest integers, however the type of the coefficients remains at 6
(probably real or complex). This means that rootsmod (GEN) cannot handle
the polynomial (the error actually comes from factormod, which is used
by rootsmod). Is it possible to change the type of the coefficients so
that they can be handled by rootsmod?

For example, can I do something like:

settyp (H [i], 1);

for each coefficient, or would this be horribly dangerous?

Mark.
-------------------------- 
Mark Chimley,
Department Of Mathematics,
University Of Bristol
--------------------------