#13209: Fix some minor Cayley table documentation problems
---------------------------------------------+------------------------------
       Reporter:  kcrisman                   |         Owner:  joyner  
           Type:  defect                     |        Status:  new     
       Priority:  trivial                    |     Milestone:  sage-5.6
      Component:  group theory               |    Resolution:          
       Keywords:  cayley doc table beginner  |   Work issues:          
Report Upstream:  N/A                        |     Reviewers:          
        Authors:                             |     Merged in:          
   Dependencies:                             |      Stopgaps:          
---------------------------------------------+------------------------------

Comment (by knsam):

 Replying to [comment:2 kcrisman]:
 **Thanks for your prompt reply!
 > Thanks for trying, knsam!  The issue is that {{{``letters``}}} should be
 {{{``'letters'``}}} and so should the others in that list be changed.
 Secondly, if you look at the thing that is actually done in the method for
 Cayley tables (a good beginner exercise is to search for where this code
 is!), you'll see that {{{``elements``}}} actually returns a list of
 strings, not the actual list of elements - I think!
 I have figured out where this piece of code is. But, I don't follow what
 you mean when you say ``elements`` returns a list of string as opposed to
 actual elements. Here's what I tried:

 {{{
 sage: G = CyclicPermutationGroup(4)
 sage: L = G.list()
 [(), (1,2,3,4), (1,3)(2,4), (1,4,3,2)]
 sage: L[2] * L[3]
 (1,2,3,4)
 }}}
 So, it does return a list of elements, not strings.

 > Don't hesitate to ask more, of course.  We like to make the curve as
 easy as possible to developing, though it could be even easier.
 Thanks for offerring to help.

 Finally, you'd like that ``letters``, ``elements`` be changed to
 ``'letters'`` and ``'elements'``, right?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13209#comment:3>
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