New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rational exponent for finite words #12226
Comments
comment:2
Should not period be an integer? ... I already had the idea of making
What do you think? |
comment:3
Replying to @seblabbe:
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?
I think an alias is not necessary. There is no other period, and anyone looking for that notion will use "period" anyway. |
comment:4
If 3 is a period, than 6, 9, 12 are period as well. But I agree that 3 is the period. I would rather suggest the following :
|
I would prefer the argument to speak about the use or not of the fraction :
or
|
Upgrade exponent of a FiniteWord_class to calculate rational exponents.
Now:
Expected:
The goal
Also, upgrade (deprecate, review, and/or change name) the method primitive() to be in accordance with the terminology used in literature (the word is usually called the period instead of the primitive)
Upgrade influenced methods (primitive_length(), ...).
CC: @videlec @seblabbe
Component: combinatorics
Issue created by migration from https://trac.sagemath.org/ticket/12226
The text was updated successfully, but these errors were encountered: