#9877: Add is_sturmian_factor, is_tangent methods for finite words
-------------------------------+--------------------------------------------
Reporter: tmonteil | Owner: tmonteil
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6.2
Component: combinatorics | Keywords:
Author: Thierry Monteil | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Description changed by abmasse:
Old description:
> Add 3 methods to `sage/combinat/words/finite_word.py`:
>
> 1. sturmian_desubstitute_as_possible
> 1. is_sturmian_factor
> 1. is_tangent
>
> Add a protecting `is_tangent` method to `sage/combinat/words/paths.py`.
>
> {{{
> sage: w = Word('01110110110111011101',alphabet='01')
> sage: w.is_tangent()
> True
> }}}
New description:
Add 3 methods to `sage/combinat/words/finite_word.py`:
1. sturmian_desubstitute_as_possible
1. is_sturmian_factor
1. is_tangent
Add a protecting `is_tangent` method to `sage/combinat/words/paths.py`.
{{{
sage: w = Word('01110110110111011101',alphabet='01')
sage: w.is_tangent()
True
}}}
Depends on #8739.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9877#comment:15>
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.