#17058: Add abelian_vectors and abelian_complexity method to finite words
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  slabbe                 |       Status:  needs_info
           Type:         |    Milestone:  sage-6.4
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  ac56d6801c2f2d525b67e7e0becfd1f1ab5d950b
Report Upstream:  N/A    |     Stopgaps:
         Branch:         |
  u/slabbe/17058         |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by slabbe):

 > Do you mind if we remove the `.. NOTE:`?

 Okay.

 > For the `INPUT` section. It is needed only if the arguments are not
 described in the documentation or if they are quite subtle. And whatever
 is inside `self` can not appear there.

 I thought the INPUT block was always necessary...

 > As a sided note, I guess we have a global problem with alphabet managed
 at the level of word. Tell me what you think.

 There are a lot of methods of `FiniteWord_class` that do not need the
 existence of a parent alphabet. That was one of the first clean up that we
 did back in 2009: get rid of things that were not necesary.

 But then, there are also a lot of methods of `FiniteWord_class` that
 *needs* an alphabet. At that time, we choose to allow the user to use such
 methods without having previously defined an alphabet. But, I think we
 were wrong. If a method needs an alphabet to work reasonably, we should
 just raise an error if there were no alphabet assigned to the parent. This
 is in accordance to the way I fixed the `abelian_vector` method and added
 a deprecation to the alphabet input.

--
Ticket URL: <http://trac.sagemath.org/ticket/17058#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 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to