In deviation from the example given in the Sage Reference v4.3.5 »
Combinatorics »
http://www.sagemath.org/doc/reference/sage/combinat/permutation.html
I get the elements in one line instead of one below the other.
sage: set=['adam', 'eva', 'otto', 'emil']
sage: Arrangements(set,4).list()
[['adam', 'eva', 'otto', 'emil'], ['adam', 'eva', 'emil', 'otto'],
['adam', 'otto', 'eva', 'emil'], ['adam', 'otto', 'emil', 'eva'],
['adam', 'emil', 'eva', 'otto'], ['adam', 'emil', 'otto', 'eva'],
['eva', 'adam', 'otto', 'emil'], ['eva', 'adam', 'emil', 'otto'],
['eva', 'otto', 'adam', 'emil'], ['eva', 'otto', 'emil', 'adam'],
['eva', 'emil', 'adam', 'otto'], ['eva', 'emil', 'otto', 'adam'],
['otto', 'adam', 'eva', 'emil'], ['otto', 'adam', 'emil', 'eva'],
['otto', 'eva', 'adam', 'emil'], ['otto', 'eva', 'emil', 'adam'],
['otto', 'emil', 'adam', 'eva'], ['otto', 'emil', 'eva', 'adam'],
['emil', 'adam', 'eva', 'otto'], ['emil', 'adam', 'otto', 'eva'],
['emil', 'eva', 'adam', 'otto'], ['emil', 'eva', 'otto', 'adam'],
['emil', 'otto', 'adam', 'eva'], ['emil', 'otto', 'eva', 'adam']]
sage:
How can I get such a nicer list as in the reference?
Regards and Tnx
BB
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
To unsubscribe, reply using "remove me" as the subject.