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:

Re: [sage-combinat-devel] Re: [sage-devel] Cartan matrix for a relabelled Cartan type?

2012-10-04 Thread JesusTorrado
Hi Nicolas, On Thursday, October 4, 2012 12:30:41 PM UTC+2, Nicolas M. Thiery wrote: > > > > May I open a ticket in trac? > > Please! I'd be happy to review a patch if you would be willing to > write one. > I will put my hands on it, then. This will be my first contribution to Sage, so I woul

Re: [sage-combinat-devel] Re: [sage-devel] Cartan matrix for a relabelled Cartan type?

2012-10-04 Thread Nicolas M. Thiery
Hi Jesus, On Wed, Oct 03, 2012 at 12:13:31PM +0200, Florent Hivert wrote: > > When relabelling a Cartan type: > > > > sage: A3 = CartanType("A3") > > sage: A3r = A3.relabel({1:2,2:3,3:1}) > > > > one loses the cartan_matrix method, which is not implemented in > > [...]/combinat/