#12339: Free Groups
--------------------------------+-------------------------------------------
       Reporter:  mmarco        |         Owner:  joyner      
           Type:  enhancement   |        Status:  needs_review
       Priority:  minor         |     Milestone:              
      Component:  group theory  |    Resolution:              
       Keywords:  free groups   |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:  Miguel Marco  |     Merged in:              
   Dependencies:                |      Stopgaps:              
--------------------------------+-------------------------------------------

Comment (by rbeezer):

 Replying to [comment:26 jhpalmieri]:
 > I would suggest replacing `size` with `cardinality`.

 Can we have `order` as an alias for `cardinality()` in the case of groups?
 It seems totally foreign to '''not''' have it.

 > The .gap method seems to work okay, although I haven't tested it very
 thoroughly. From looking at other files in sage/groups/, it looks like you
 should instead implement both `G._gap_()` (to return the GAP object
 corresponding to G) and `G._gap_init_()` (to return the string
 representation of the corresponding GAP object). But I'm not sure about
 this: maybe you only need one of these methods. Anyway, if you do it
 right, then `gap(G)` will return the GAP version of G.

 I've only just figured out some of this in the last 48 hours as I have
 been building an automorphism group of permutation groups.  I think that
 if `_gap_init_()` returns a string which would cause GAP to create the
 desired object, then everything else, like `_gap_()` for sure, and I'd
 guess `gap()` as well, just seems to come along for the ride.
 `gap.eval(<command>)` outputs strings you can save/manipulate to use as
 return values for `_gap_init_()`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12339#comment:27>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to