Hi Alasdair,
F.=GF(2^8,name='x')
R.=PolynomialRing(Zmod(2))
p = F.random_element()
p.subs(x=y)
Basically, I have an object which is created as an element of a finite
field, which I then need to treat as an element of a ring. If I try:
pp = p.polynomial()
pp.subs(x=y)
And what do you think
The following shows what I'd like to do:
F.=GF(2^8,name='x')
R.=PolynomialRing(Zmod(2))
p = F.random_element()
p.subs(x=y)
Basically, I have an object which is created as an element of a finite
field, which I then need to treat as an element of a ring. If I try:
pp = p.polynomial()
pp.subs(x=y)