Ask Your Question

NumberFour's profile - activity

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

Thanks alot! This helped

2014-11-18 15:09:57 +0200 received badge  Scholar (source)
2014-11-18 13:05:06 +0200 received badge  Editor (source)
2014-11-18 13:04:35 +0200 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).