[GAP Forum] CyclePermInt
Bill Allombert
Bill.Allombert at math.u-bordeaux1.fr
Mon Nov 1 13:12:54 GMT 2010
On Mon, Nov 01, 2010 at 11:26:23AM -0000, Adam James wrote:
> Dear Forum,
>
> Sorry If I have missed this somewhere in the reference manual or online, but
> I came across some GAP code recently using the CyclePermInt function and
> can't figure out what this function does?
Experiments suggest that
CyclePermInt(perm, i) returns the orbit of i under perm as a list
[i, perm(i), perm(perm(i)),...]
gap> CyclePermInt((1,3)(4,2,5),5);
[ 5, 4, 2 ]
Cheers,
Bill.
More information about the Forum
mailing list