#5037: Bug fixes and new functionalities for Words library
---------------------------+------------------------------------------------
 Reporter:  slabbe         |       Owner:  slabbe       
     Type:  enhancement    |      Status:  new          
 Priority:  major          |   Milestone:  sage-combinat
Component:  combinatorics  |    Keywords:               
---------------------------+------------------------------------------------
 Add to Word Morphism the following functions :
  * {{{__add__()}}} that merges two Word Morphisms on disjoint domain.
  * {{{restriction(self, alphabet)}}} that returns a new Word Morphism
 constructed from self by restricting the domain to Words over the given
 alphabet.
  * {{{disjoint_alphabet(self)}}}, for involutions only, that returns a
 partition A,B,C of the alphabet s.t. self(A) = B, self(B)=A and self(C) =
 C.

 '''Note : I am still not convince of those three names.'''

 Fix in Word Morphism the following function :
  * {{{is_involution(self)}}} : should first check that self is an
 endomorphism

 Fix in word.py the following functions :
  * {{{colored_vector}}} : Fails on empty word.

 Add in word.py the following possibilities:
  * {{{colored_vector}}} : Put a label on the graphical word displayed.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5037>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to