[GAP Forum] Permutation List
Don King
symmetryholic at yahoo.ca
Sat Jan 31 12:34:47 GMT 2009
Hello,
I figured out how to change cycles in a symmetric group into a permutation form.
What I did is as follows:
..............
gap> a1 := ConjugacyClass(b6, (1,2));gap> l := List([1.. 15], i->ListPerm(AsList(a1)[i]));
Anyhow the output was
[ 1, 2, 3, 4, 6, 5 ], [ 1, 2, 3, 5, 4 ], [ 1, 2, 3, 6, 5, 4 ],
[ 1, 2, 4, 3 ], [ 1, 2, 5, 4, 3 ], [ 1, 2, 6, 4, 5, 3 ], [ 1, 3, 2 ],
[ 1, 4, 3, 2 ], [ 1, 5, 3, 4, 2 ], [ 1, 6, 3, 4, 5, 2 ], [ 2, 1 ],
[ 3, 2, 1 ], [ 4, 2, 3, 1 ], [ 5, 2, 3, 4, 1 ], [ 6, 2, 3, 4, 5, 1 ] ]
I want all elements in a permutation form have same sizes. For instance, there are size 3,4 and 6 in the above outputs rather than all size 6 outputs.
Any help will be highly appreciated.
Don
__________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
More information about the Forum
mailing list