Dear Forum,
When I apply the function "CoefficientsOfUnivariatePolynomial" to the unit polynomial I get the result [ 1 ], as expected: ----------------------------------------------- gap> R:=PolynomialRing(Integers,["x"]); PolynomialRing(..., [ x ]) gap> i:=One(R); 1 gap> CoefficientsOfUnivariatePolynomial(i); [ 1 ] ----------------------------------------------- For the zero polynomial, however, it returns an empty set: ----------------------------------------------- gap> o:=Zero(R); 0 gap> CoefficientsOfUnivariatePolynomial(o); [ ] ----------------------------------------------- Why isn't the result [ 0 ] ? Could this be a bug? Thank you Anvita -- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/ _______________________________________________ Forum mailing list [email protected] http://mail.gap-system.org/mailman/listinfo/forum
