Let say I have the following quotient ring:
F.<t> = PolynomialRing(GF(2), 'x').quotient(x^128 + x^7 + x^2 + x + 1);
Then I create the polynomial, for example t^128 which yields:
t^7 + t^2 + t + 1
Now how do I obtain the array of coefficients of this polynomial?
Or, similarly, how do I actually substitute 2 for t and evaluate this polynomial? The subs
method doesn't work. (Probably the polynomial needs to be coerced to other ring with base field where 2 != 0).