[GAP Forum] File input

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


Hello,

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

[1,3,2,4]
[2,4,1,3]
...........

The output I'd like to get is  cycle formatted, such as
(2,3)
(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,
Don 


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.


More information about the Forum mailing list