#9877: Add is_sturmian_factor, is_tangent methods for finite words
------------------------------------------------------+---------------------
       Reporter:  tmonteil                            |         Owner:  
tmonteil                                                   
           Type:  enhancement                         |        Status:  
needs_review                                               
       Priority:  major                               |     Milestone:  
sage-5.9                                                   
      Component:  combinatorics                       |    Resolution:          
                                                   
       Keywords:  sturmian word, tangent word         |   Work issues:          
                                                   
Report Upstream:  N/A                                 |     Reviewers:  
Alexandre Blondin Massé, Sébastien Labbé, Vincent Delecroix
        Authors:  Thierry Monteil, Frédéric Chapoton  |     Merged in:          
                                                   
   Dependencies:                                      |      Stopgaps:          
                                                   
------------------------------------------------------+---------------------
Changes (by chapoton):

  * status:  needs_info => needs_review


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
> }}}
>
> Depends on #8739.

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.

 Apply:
 * [attachment:trac_9877_words_sturmian_desubstitution_attempt_2-tm.patch]
 * [attachment:trac_9777-sturm-review-fc.patch]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9877#comment:31>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to