#5487: Content function for tableaux
---------------------------+------------------------------------------------
 Reporter:  andrew.mathas  |       Owner:  andrew.mathas   
     Type:  enhancement    |      Status:  new             
 Priority:  trivial        |   Milestone:                  
Component:  combinatorics  |    Keywords:  tableaux content
---------------------------+------------------------------------------------
Changes (by andrew.mathas):

  * owner:  mhansen => andrew.mathas


Comment:

 Replying to [comment:2 hivert]:
 > Replying to [comment:1 saliola]:
 >
 > > 1. content is only well-defined if k appears exactly once in the
 tableau. How should it work for the following tableau?

 When pushing this patch I described it as a content function on standard
 tableau and then added it to the Tableau class...I'll move it into the
 StandardTableau class and then all will be well.

 The obvious "generalization" of the definition to semistandard tableau is
 used in the literature but writing the corresponding function is slightly
 cumbersome because in the classical case you add up the contents of all of
 nodes labelled k whereas for the q-analogue you add up the q-contents.
 Perhaps the nicest solution is to define
 {{{
 def content(self, k, q=1):
 ...
 }}}
 I have never used contents for tableaux which are not (semi)standard.

 > > 2. In case k does not appear in the tableau, perhaps it is better to
 raise an error?

 OK

 > > 3. Whatever is decided for 2, it should be documented. You can do this
 with an OUTPUT section.
 >
 > 4. I think parameters should be written {{{``n``}}} (raw sage code)
 instead of {{{`n`}}} (latex code) or {{{<n>}}} (no particular meaning in
 rest) see http://wiki.sagemath.org/combinat/HelpOnTheDoc

 Thanks.

 One last question: is there an easy way to "update" the patch and push it
 back to the server? Or do I have to somehow delete this patch and then
 reapply?

 Cheers,
 Andrew

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5487#comment:3>
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