#5487: Content function for tableaux
---------------------------+------------------------------------------------
Reporter: andrew.mathas | Owner: andrew.mathas
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: combinatorics | Keywords: tableaux content
---------------------------+------------------------------------------------
Comment(by saliola):
Replying to [comment:3 andrew.mathas]:
> 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.
One slight problem: there doesn't seem to be a StandardTableau or
SemistandardTableau class, just a Tableau class. So you'll have to create
it, which is not a big deal.
> 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?
In you sage-combinat branch, you can type {{{hg qpop tableau-
content-5487-AM.patch}}}, which will unapply all the patches up until you
get to your patch. (Or you might have to qpush instead of qpop above
depending on where you are in the stack.) Then you do your modifications.
To save your modifications into the top patch (in this case, tableau-
content-5487-AM.patch), you do {{{hg qrefresh}}}. To see which patch is at
the top of your stack, use the command {{{hg qtop}}}. Once you are done
with your modifications, you proceed as normal. That is: change into the
patches directory, commit, then push.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5487#comment:4>
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
-~----------~----~----~----~------~----~------~--~---