Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 9 years ago

MLainz gravatar image

Get abelian group element powers.

I have the abelian group (let's say, Z25). I want to represent its Cayley graph as a grid, in which the element aibj 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]);
e=A[2]

-->e=aba^-1

e.pos()

--> [0,1]

How can I create something like that?