Ask Your Question

tugba's profile - activity

2023-01-02 10:52:56 +0200 received badge  Famous Question (source)
2021-03-02 17:23:37 +0200 received badge  Notable Question (source)
2018-11-26 17:14:18 +0200 received badge  Popular Question (source)
2017-07-21 14:39:09 +0200 commented answer iterating over quotient ring and polynomial ring

thank you for the solution. It was useful for me.

2017-07-19 13:34:38 +0200 asked a question iterating over quotient ring and polynomial ring


I have been studied some finite algebraic structure as follows:

P.<v> = PolynomialRing(GF(2))
R.<v> = P.quotient((v^2-v))
T.<x> = PolynomialRing(R)

R is a quotient ring with elements : 0,1,v,1+v. I want to list all of the polynomials with degree 2. So I write:

for r in T.polynomials(of_degree=2): r

but the error is "object does not support iteration".

And also the same problem arises when I want to list the elements of R.

Is there any solution to this problem? How can I iterate over this structure?

thank you