sage: K = GF(2^8,'a')
sage: P = PolynomialRing(K,'x')
sage: Q = P.quotient_ring(P("x^256+x"),'y')sage: f = Q.random_element()sage: f.subs(y=K.random_element()) # random(a^7 + a^6 + a^3 + a)*y^255 + (a^7 + a^4)*y^254 ...
sage: QUnivariate Quotient Polynomial Ring in y over Finite Field in a of size 2^8 with modulus x^256 + x
K = GF(2^8, 'a')
P.<x> = PolynomialRing(K)
Q.<y> = P.quotient_ring(x^256 - x)
f = Q.random_element()f.subs(Q.random_element())
K = GF(2^8, 'a')
P.<x> = PolynomialRing(K)
Q.<y> = P.quotient_ring(x^256 - x)
f = Q.random_element()ev_a = Q.hom([Q.random_element()]) # homomorphism: Q -> Qf = Q.random_element()b = ev_a(f)