`coxeter/text/restrict` := TEXT(`   `,
`FUNCTION:  restrict - restrict characters to reflection subgroups`,`   `,
`CALLING SEQUENCE:  restrict(f,J,R);`,`                   restrict(f,S0,R);`,
`    `,`PARAMETERS:  R = a root system data structure`,
`             f = a list representing a class function on W(R)`,
`             J = a list of integers in the range 1..n, where n=rank(R)`,
`            S0 = a list of simple roots for a root subsystem of R`,`   `,
`SYNOPSIS:   `,
`  A character or class function on W(R) is represented as a list of values`,
`  [a_1,...,a_l], where a_i is the function value on an element in the i-th`,
`  conjugacy class. A consistent ordering of the conjugacy classes is used`,
`  by each of the functions class_rep, class_size, cprod, induce, irr_chars,`,
`  perm_char, and restrict. In particular, the value at the identity element`,
`  (the degree, in the case of characters) is always listed first.`,`   `,
`  If S0 is a list of simple roots for some (not necessarily parabolic)`,
`  root subsystem R' of R, and f is a list of values for some class function`,
`  on W(R), then restrict(f,SO,R) returns the class function obtained by`,
`  restricting f to W(R').`,`   `,
`  Similarly, if J is a sublist of [1,...,n] (where n = rank(R)), then`,
`  restrict(f,J,R) returns the restriction of f to W(R'), where R' denotes`,
`  the parabolic subsystem of R whose base is obtained by selecting the`,
`  members of base(R) in positions indexed by J.`,`   `,
`  For a description of root system data structures, see coxeter[structure].`,
`   `,`EXAMPLES:   `,`  f:=[$1..nops(class_rep(C3))];`,
`  restrict(f,[1,2],C3);                    yields        [1,4,2,6,7]`,
`  S:=base(C3); r:=highest_root(C3);`,
`  restrict(f,[S[1],S[2],-r],C3);           yields   [1,4,4,6,2,5,6,8,7,9]`,
`   `,`SEE ALSO:  base, class_rep, class_size, cprod, induce, irr_chars, rank,`
,`           perm_char, perm_rep, structure`):

if `+`(0)=0 then # Maple V.4 or later
  print(INTERFACE_HELP(insert, topic=`coxeter/restrict`,
  helpfile=HomeLib, text=`coxeter/text/restrict`))
elif ceil(0)=0 then # Maple V.2 or V.3
  `help/coxeter/text/restrict`:=`coxeter/text/restrict`:
  save `help/coxeter/text/restrict`, cat(HomeLib,`/help/coxeter/text/restrict.m`);
fi:
