Get abelian group element powers. [closed]

asked 2016-02-03 19:22:33 -0500

MLainz gravatar image

I have the abelian group (let's say, $Z_5^2$). I want to represent its Cayley graph as a grid, in which the element $a^i b^j$ occupies the $[i,j]$ position in the plane. For that, I need would need a method .pos(). which did the following.

A = groups.presentation.FGAbelian([n,n]);



--> [0,1]

How can I create something like that?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by vdelecroix
close date 2016-02-03 19:42:45.534060