FUNCTION: LieTools/SgPolySetDim
USAGE: SgPolySetDim(plist);
SYNOPSIS: SgPolySetDim(plist) finds the dimension of the span of the
  polynomials in plist.
EXAMPLE: 
> with(LieTools):
> gSetup(A,2):
Setting up Gtype = A   rnk = 2
> s2m := SgMkZeroWgtMonos(2);

              2      2
  s2m := {g[4] , g[5] , g[1] g[8], g[2] g[7], g[3] g[6], g[4] g[5]}

> SgPolySetDim(s2m);

                                  6

> s2m1 := map(x->SgC2(x),s2m):

> SgPolySetDim(s2m1);

                                  5

SEE ALSO: 
