Charles Greathouse on Fri, 13 Jan 2012 02:16:02 +0100

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

Main variable of a polynomial?

Suppose I had a variable P which was a polynomial in some unknown
variable.  Is there a good way to get that variable in GP?

I suppose I could take the derivative until it was monic, subtract the
constant term, and divide by pollead.  But that hardly seems efficient
when the degree may be large.

Charles Greathouse
Case Western Reserve University