On 01/12/2015 10:16 PM, William Stein wrote:


On Mon, Jan 12, 2015 at 12:30 PM, Simon King <simon.k...@uni-jena.de
<mailto:simon.k...@uni-jena.de>> wrote:

    Hi!

    On 2015-01-12, David Joyner <wdjoy...@gmail.com
    <mailto:wdjoy...@gmail.com>> wrote:
     > Depends on the group:
     >
     > ...
    >
    > The simplest explanation would be to use the small groups database
    > which can be installed into Sage, but it is not open-source licensed.

    For example:

    sage:
    
[PermutationGroup(gap.SmallGroup(16,i).IsomorphismPermGroup().Range().GeneratorsOfGroup())
    for i in range(1,15)]

    Note that an explicit transformation to a permutation group is needed.
    Simply doing ".sage()" on a gap group doesn't work.


Yes, I tried .sage() but didn't think of [PermutationGroup(...)], and
didn't know about Range(), and didn't know about GeneratorsOfGroup().


Another functionality that rarely works is the gap_group arg:

sage: PermutationGroup(gap_group=gap.SymmetricGroup(4))
Permutation Group with generators [(1,2), (1,2,3,4)]
sage: PermutationGroup(gap_group=gap.DihedralGroup(4))
#Boom!

Best regards,
TB


    In any case, it needs database_gap installed, and it certainly isn't
    obvious how to do.

    Best regards,
    Simon




    --
    You received this message because you are subscribed to the Google
    Groups "sage-devel" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to sage-devel+unsubscr...@googlegroups.com
    <mailto:sage-devel%2bunsubscr...@googlegroups.com>.
    To post to this group, send email to sage-devel@googlegroups.com
    <mailto:sage-devel@googlegroups.com>.
    Visit this group at http://groups.google.com/group/sage-devel.
    For more options, visit https://groups.google.com/d/optout.




--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

--
You received this message because you are subscribed to the Google
Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-devel+unsubscr...@googlegroups.com
<mailto:sage-devel+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-devel@googlegroups.com
<mailto:sage-devel@googlegroups.com>.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to