On Thursday, July 19, 2012 8:47:20 AM UTC-7, Nathann Cohen wrote:
>
> If nobody needs it before I will probably write the patch when I am back 
> from traveling, something around mid september. Cool, Cool, Cool ! :-)
>
>
Dear Naaaaaaaaaaaaathan,

It'd sure be great to have automorphism groups of graphs start their symbol 
sets back at 0!  And perhaps optionally use vertex labels.

sage: G = SymmetricGroup([0, 1, 2]); G
Symmetric group of order 3! as a permutation group
sage: G.domain()
{0, 1, 2}
sage: G = SymmetricGroup(['dog', 'cat', 'fish']); G
Symmetric group of order 3! as a permutation group
sage: G.domain()
{'dog', 'cat', 'fish'}

I have not investigated the following yet.  I thought tuples being hashable 
was sufficient.

sage: G = SymmetricGroup([(1,0), (0,1)])
...
TypeError: not all arguments converted during string formatting

Rob
 

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to