`coxeter/text/char_poly` := TEXT(`    `,
`FUNCTION:  char_poly - characteristic polynomial of a group element`,`    `,
`CALLING SEQUENCE:  char_poly(w,R); `,`                   char_poly(w,R,t);`,
`    `,`PARAMETERS:  R = a root system data structure`,
`             w = a list of integers representing a member of W(R)`,
`             t = a variable or expression (optional)`,`   `,`SYNOPSIS:   `,
`  If R is a root system of rank n, members of the Coxeter group W(R) are`,
`  represented as lists of integers in the range 1..n. The group element`,
`  corresponding to w = [i_1,...,i_l] is the product of the generators`,
`  indexed by i_1,...,i_l. The indexing follows base(R).`,`   `,
`  If w is such a group element, char_poly(w,R,t) computes the determinant`,
`  of 1 - t*w, as a linear transformation of the space spanned by base(R).`,
`  If the third argument is omitted, q is the default.`,`   `,
`  For a description of root system data structures, see coxeter[structure].`,
`   `,`EXAMPLES:   `,
`  char_poly([1,3,2,3],B3);        yields           1-q+q^2-q^3`,
`  char_poly([1,2,3,4],D4,1);      yields                4`,
`  f:=char_poly([1,2,3,2],H3,z);`,
`  evalf(f,3);                     yields   1.-1.62*z+1.62*z^2-1.00*z^3`,`    `
,`SEE ALSO:  base, rank, reflect, structure`):

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