1 | initial version |
You did not define x
and thus it is considered symbolic rather than a variable over GF(p). A simple way to fix this is to change R = PolynomialRing(GF(p),'x')
with R.<x> = PolynomialRing(GF(p),'x')
. Then you'll get roots in GF(p)
.
2 | No.2 Revision |
You did not define x
and thus it is considered a symbolic variable rather than a polynomial variable over GF(p). GF(p)
. A simple way to fix this is to change R = PolynomialRing(GF(p),'x')
with into R.<x> = PolynomialRing(GF(p),'x')
. Then you'll get roots in GF(p)
.
3 | No.3 Revision |
You did not define x
and thus it is considered a symbolic variable rather than a polynomial variable over GF(p)
. A simple way to fix this is to change R = PolynomialRing(GF(p),'x')
into R.<x> =
. Then you'll get roots in PolynomialRing(GF(p),'x')PolynomialRing(GF(p))GF(p)
.