Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-31 Thread Nicolas M. Thiery
On Tue, Oct 30, 2012 at 08:03:04AM -0700, JesusTorrado wrote: > Hi, > > Am Donnerstag, 4. Oktober 2012 17:14:54 UTC+2 schrieb bump: > After the patch #13461 you can do the following: > > sage: A2=WeylCharacterRing("A2",style="coroots") > sage: rep = A2(1,0) > sage: a2 = Weight

Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-30 Thread JesusTorrado
Hi, Am Donnerstag, 4. Oktober 2012 17:14:54 UTC+2 schrieb bump: > > After the patch #13461 you can do the following: > > sage: A2=WeylCharacterRing("A2",style="coroots") > sage: rep = A2(1,0) > sage: a2 = WeightRing(A2) > sage: a2(rep) > a2(0,-1) + a2(-1,1) + a2(1,0) > Thanks, Dan! That's e

Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-05 Thread Nicolas M. Thiery
Hi Dan! On Fri, Oct 05, 2012 at 04:15:03PM -0700, Daniel Bump wrote: > Not in principle, but anyway I think the immediate request > can be satisfied in the context of #13461 (see my previous > in this thread). Great; then there is no urgency! > Sure, but it is a single key algorithm that

Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-05 Thread Daniel Bump
> Dan: in the code for the WeylCharacterRing, do you foresee any piece > of code that would not work generically for any realization of the > weight lattice? Not in principle, but anyway I think the immediate request can be satisfied in the context of #13461 (see my previous in this thread). > B

Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-05 Thread Nicolas M. Thiery
Hi Jesus, Dan, On Thu, Oct 04, 2012 at 06:51:16AM -0700, JesusTorrado wrote: >Particle physicists love coroot style (we call it 'Dynkin labels'), so the >possibility of using it for indicating representations in a >WeylCharacterRing is great! > >For consistency, what about

Re: [sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-04 Thread Daniel Bump
" For consistency, what about adding a style 'coroots' for " weight_multiplicities() too? After the patch #13461 you can do the following: sage: A2=WeylCharacterRing("A2",style="coroots") sage: rep = A2(1,0) sage: a2 = WeightRing(A2) sage: a2(rep) a2(0,-1) + a2(-1,1) + a2(1,0) However the inte

[sage-combinat-devel] coroot style for weight_multiplicities() ?

2012-10-04 Thread JesusTorrado
Hi all, Particle physicists love coroot style (we call it 'Dynkin labels'), so the possibility of using it for indicating representations in a WeylCharacterRing is great! For consistency, what about adding a style='coroots' for weight_multiplicities() too? It would behave as simple as: