> < ^ Date: Thu, 13 Sep 2001 10:29:41 -0400
> < ^ From: David Joyner <wdj@usna.edu >
> ^ Subject: polynomial question

Dear GAP forum:

I'm curious about the following output:

gap> R:=PolynomialRing(GF(7),["x"]);
<algebra-with-one over GF(7), with 1 generators>
gap> p:=UnivariatePolynomial(GF(7),[1,2,3,4],1);
gap> Derivative(p);
gap> p in R;
gap> q:=UnivariatePolynomial(GF(7),[Z(7),2*Z(7),3*Z(7),4*Z(7)],1);
gap> q in R;                                                      
gap> Derivative(q);

(a) Why doesn't the definition of p automatically coerce the
coefficients 1,2,3,4 into the field GF(F)? Isn't this what the
documentation suggests? From the documentation, it seems to me that p
should be
equal to q.

(b) Why does the derivative of p contain 0*x^-1, but the
derivative of q doesn't?

- David

Prof David Joyner, Mathematics Department
U. S. Naval Academy, Annapolis, MD 21402
phone: (410) 293-6738

Miles-Receive-Header: reply

> < [top]