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
Create a new module for morphic words #31378
Comments
comment:1
duplicate of #31370 ? |
This comment has been minimized.
This comment has been minimized.
comment:3
Replying to @fchapoton:
Let's close #31370 and keep this one (Jana is learning how to contribute to Sage). |
Changed branch from u/jlepsova/morphic to u/slabbe/31378 |
comment:4
I rebased the branch on top of New commits:
|
comment:5
Jana, the next step is to update the examples in the documentation in the With the current branch,
returns
|
Changed branch from u/slabbe/31378 to u/jlepsova/morphic |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
Changed branch from u/jlepsova/morphic to u/slabbe/31378 |
comment:10
I fixed the doctests with respect to saving the objects (loads, dumps, reduce, etc.). It remains only one issue:
Jana: can you take a look at this? |
Author: Jana Lepšová, Sébastien Labbé |
Changed branch from u/slabbe/31378 to u/jlepsova/morphic |
comment:13
Does the most recent commit also handles the following infinite loop?
What is the remaining problem you mention in the commit message? Can you provide an example? In the following, the multiplication while vMk[position] <= n:
+ if vMk == vMk*M:
+ raise ValueError('The morphism has a finite fixed point of length {}.'.format(vMk[position]))
vMk = vMk*M
length_of_images.append(vMk) I would suggest that the error message also include the value of I think the error should be an
|
comment:30
Are you sure that |
comment:31
Here is an example
EDIT: Computing the representation is long (because the answer is long) but computing |
comment:32
More generally, when the growth of |
comment:33
Replying to @videlec:
Well if the growth rate of the On 9.5.beta0:
On 9.5.beta0 + #31378:
Here it grows quadratically:
The problem is when the images grow linearly. Question: can we detect that? |
comment:34
The answer is yes, see #32594. We can do that later on. |
comment:35
Sorry : you should fix trailing whitespaces. |
Work Issues: trailing whitespaces |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed work issues from trailing whitespaces to none |
Reviewer: Vincent Delecroix |
comment:38
I think the issue with trailing whitespaces was mainly with file morphic.py. I removed those from that file. |
comment:39
there are more in |
comment:40
Do you want me to remove all of the trailing whitespaces in the file, or only those in lines that were changed? |
comment:41
That is fine with me either way. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:43
I fixed the 2 trailing whitespaces in the file morphism.py that were added in previous commit on this ticket. |
Changed branch from u/slabbe/31378 to |
The goal of this ticket is to create a new module for morphic words.
As a consequence, it will improve the following computations which take a lot of time:
CC: @videlec
Component: combinatorics
Author: Jana Lepšová, Sébastien Labbé
Branch/Commit:
016f022
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/31378
The text was updated successfully, but these errors were encountered: