Ask Your Question

Jason Polak's profile - activity

2023-11-17 22:34:03 +0200 received badge  Famous Question (source)
2021-01-15 10:25:06 +0200 received badge  Notable Question (source)
2021-01-15 10:25:06 +0200 received badge  Popular Question (source)
2017-07-05 09:58:47 +0200 commented answer Iterating over finite structures

Thank you John. I didn't understand your answer at first but I get it now. It works well seems to be the easiest way to do computations of this nature!

2017-07-05 09:56:17 +0200 received badge  Scholar (source)
2017-06-15 13:02:01 +0200 commented answer Iterating over finite structures

Thank you for the answer. What you do works for V = GF(2)**6, but I already can do that because "for v in V" works here. "for v in V" does not work if "V = GroupAlgebra( GL(2, Zmod(2)), Zmod(2))". My question is precisely for those structures that are finite, and yet don't work with "for v in V".

2017-06-10 13:41:04 +0200 asked a question Iterating over finite structures

I am trying to use sage for some algebra computations involving finite rings. Since the structures are finite, I would like to iterate over all the elements of the structure. I know how to iterate in some cases for polynomials in polynomial rings of a certain degree (not necessarily finite):

S.<x> = PolynomialRing(Zmod(9))

Then I could do

for i in S.polynomials(of_degree = 2):

To iterate over all quadratics. What I'd like to do is iterate over all elements of a structure like the finite ring:

R = GroupAlgebra( GL(2, Zmod(2)), Zmod(2))

Is there a way to do this in Sage easily?