# Multiplicity of a particular weight

Given $V$ an irreducible representation of some compact group, I would like to have the multiplicity of some particular weight $\eta$, that is, $\dim (V(\eta))$.

For example,

D=WeylCharacterRing("D3")
D(2,1,0).weight_multiplicities()


gives

{(0, 1, 0): 4, (1, -1, 1): 2, (0, 2, -1): 1, (1, 2, 0): 1, (-1, 0, 2): 1, (0, -2, -1): 1, (0, -1, 0): 4, (0, 2, 1): 1, (1, -1, -1): 2, (0, 1, -2): 1, (-1, 2, 0): 1, (-2, 0, 1): 1, (-1, 1, -1): 2, (0, -1, 2): 1, (-1, -2, 0): 1, (-1, -1, -1): 2, (-2, 1, 0): 1, (1, 0, 0): 4, (-1, 0, -2): 1, (-2, -1, 0): 1, (1, 0, -2): 1, (0, 1, 2): 1, (0, 0, -1): 4, (0, -2, 1): 1, (2, 0, 1): 1, (1, 1, -1): 2, (0, 0, 1): 4, (1, 0, 2): 1, (2, 1, 0): 1, (2, -1, 0): 1, (-2, 0, -1): 1, (0, -1, -2): 1, (-1, 1, 1): 2, (-1, -1, 1): 2, (2, 0, -1): 1, (-1, 0, 0): 4, (1, 1, 1): 2, (1, -2, 0): 1}


the list of multiplicities of every weight of the representation $V$ (=the irreducible representation of $SO(6)$ of highest weight $(2,1,0)=2 e_1+ e_2$). I want only the multiplicity of some particular weight, for example FOR $\eta=(1,1,1)$, thus $2$.