FUNCTION: LieTools/SplitChar
USAGE: 
SYNOPSIS: SplitChar(chi) extracts from a character of a f.d. representation the weights and 
  multiplicities of the representation.
CAVEATS: requires a previously initialized global Lie algebra environment.
  (See LieTools[gSetup].)
EXAMPLE: 
> Char([2,1],A2);

  X[2, 1] + X[-2, 3] + X[3, -1] + X[1, -3] + X[-3, 2] + X[-1, -2]

         + X[0, 2] + X[2, -2] + X[-2, 0] + 2 X[1, 0] + 2 X[-1, 1]

         + 2 X[0, -1]

> SplitChar(%);

  [[1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2], [[2, 1], [-2, 3], [3, -1],

        [1, -3], [-3, 2], [-1, -2], [0, 2], [2, -2], [-2, 0], [1, 0],

        [-1, 1], [0, -1]]]


SEE ALSO: 
