#9877: Add is_sturmian_factor, is_tangent methods for finite words
-----------------------------+----------------------------------------------
Reporter: tmonteil | Owner: tmonteil
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by slabbe):
> The first one is called by `w.parent().alphabet()` while the second one
would be obtained from `w.alphabet()`. But this is for another ticket.
>
> What I suggest is that you simply add the `len(set(w)) == 2` condition
to your code and we'll clean it eventually.
I think this is a very good suggestion.
Sébastien
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9877#comment:10>
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.