Ask Your Question

NumberFour's profile - activity

2018-03-06 15:35:05 -0500 received badge  Famous Question (source)
2017-01-06 06:47:25 -0500 received badge  Notable Question (source)
2016-06-17 06:47:13 -0500 received badge  Popular Question (source)
2014-11-19 11:02:41 -0500 received badge  Student (source)
2014-11-18 11:06:37 -0500 commented answer Get coefficients of a polynomial in quotient ring

Thanks alot! This helped

2014-11-18 08:09:57 -0500 received badge  Scholar (source)
2014-11-18 06:05:06 -0500 received badge  Editor (source)
2014-11-18 06:04:35 -0500 asked a question Get coefficients of a polynomial in quotient ring

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 a 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).