#12226: rational exponent for finite words
-----------------------------+----------------------------------------------
   Reporter:  sstarosta      |          Owner:  sstarosta
       Type:  enhancement    |         Status:  new      
   Priority:  minor          |      Milestone:  sage-4.8 
  Component:  combinatorics  |       Keywords:           
Work_issues:                 |       Upstream:  N/A      
   Reviewer:                 |         Author:           
     Merged:                 |   Dependencies:           
-----------------------------+----------------------------------------------

Comment(by sstarosta):

 Replying to [comment:2 slabbe]:
 > Should not period be an integer?

 You are right, I found both versions in the literature (integer in
 Lothaire, word for instance in
 http://www.springerlink.com/content/t59071u33573168v/ )

 When hearing period without context, I think an integer is expected.
 Although a word is definitely more useful in papers and you have the
 integer by taking just the length of the word.

 Is something like that stupid?
 {{{
 sage: Word('1231').period(word=True)
 word: 123
 sage: Word('1231').period()
 3
 }}}



 > What do you think?

 I think an alias is not necessary. There is no other period, and anyone
 looking for that notion will use "period" anyway.

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