[GAP Forum] File input

Don King symmetryholic at yahoo.ca
Tue Feb 3 03:09:16 GMT 2009


I am wondering if a file input is supported to convert a list of permutations into a list of cycles.

For instance,

I have an "a.txt" that includes


The output I'd like to get is  cycle formatted, such as
(1, 2, 4, 3)

If the file input is not supported, what commands can be used to convert multiple permutations into cycles?

Thanks in advance.

Best regards,

Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at

More information about the Forum mailing list