On May 5, 2013 2:15 PM, "geo909" <[email protected]> wrote: > > Hi all, > > This is my first time with sage and I'm trying to work with polynomials > over finite fields. Probably due to my lack of knowledge, I'm getting > some unexpected behaviour. In particular, the output of, let's say > > F = GF(3) > R.<x> = F[] > T(x)=5*x^2+3
This is wrong. Do T=5*x^2+3 instead. > T > > is > > > x |→ 5x2+3 > > > I also get the same output with > > x = PolynomialRing(GF(3), 'x').gen() > T(x)=5*x^2+3 > T > > I guess I would expect the coefficients to be reduced > modulo 3 since we are working over GF(3). At least, > I would expect, say T(F(1)) to be reduced modulo 3, > but instead I get: > > F = GF(3) > R.<x> = F[] > T(x)=5*x^2+3 > T(F(1)) > > output: 8 > > Any comments? What is that I'm not doing right? > > > -- > You received this message because you are subscribed to the Google Groups "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
