2024-07-23 12:53:58 +0200 edited question Iterate over tranlsation elements of affine Weyl group Iterate over tranlsation elements of affine Weyl group I want to do some computations in the Kazhdan-Lusztig basis of an 2024-07-22 17:40:50 +0200 asked a question Iterate over tranlsation elements of affine Weyl group Iterate over tranlsation elements of affine Weyl group I want to do some computations in the Kazhdan-Lusztig basis of an 2024-07-22 16:50:01 +0200 marked best answer return structure constants of Iwahori-Hecke algebra as a list of pairs I would like to return the result of multiplication in an Iwahori-Hecke algebra not as the element on the right hand side of $$C'_xC'_y=\sum_z h_{x,y,z}C'_z$$ but as a list of pairs $(z, h_{x,y,z})$. Is this possible? It is easy to return a vector of just the coefficients without the index $z$: Can this list be created from the usual setup, e.g. R. = LaurentPolynomialRing(ZZ) H = IwahoriHeckeAlgebra(['A',2,1], v^2) W= H.coxeter_group() s= W.simple_reflections();s C=H.C() C.product_on_basis(s[1], s[2]*s[1]) Cp[1,2,1] + Cp[1] (C.product_on_basis(s[1], s[2]*s[1])).coefficients() [1, 1]  But how can I also remember the indices $z$? 2024-07-22 16:50:01 +0200 received badge ● Scholar (source) 2024-07-22 16:50:00 +0200 received badge ● Supporter (source) 2024-07-22 12:03:05 +0200 received badge ● Student (source) 2024-07-22 11:09:06 +0200 received badge ● Editor (source) 2024-07-22 11:09:06 +0200 edited question return structure constants of Iwahori-Hecke algebra as a list of pairs return structure constants of Iwahori-Hecke algebra as a list of pairs I would like to return the result of multiplicati 2024-07-22 10:44:57 +0200 asked a question return structure constants of Iwahori-Hecke algebra as a list of pairs return structure constants of Iwahori-Hecke algebra as a list of pairs I would like to return the result of multiplicati 2024-06-10 18:18:33 +0200 asked a question Dimensions of representations obtained by branching rule are incorrect Dimensions of representations obtained by branching rule are incorrect Consider $\mathrm{SO}_3\subset\mathrm{GL}_3$ as f