[GAP Forum] Can GAP decode permutations?

marc_roeder at web.de marc_roeder at web.de
Fri Aug 18 11:04:08 BST 2006


Hello,

PermListList may be what you look for:

gap> list1:= [ 34, 31, 29, 25, 28, 26 ];;
gap> list2:= [ 31, 34, 25, 29, 28, 26 ];;
gap> PermListList(list1,list2);
(1,2)(3,4)

Best regards,

Marc



More information about the Forum mailing list