`coxeter/text/index` := TEXT(`   `,
`FUNCTION:  index - index of connection for a crystallographic root system`,
`   `,`CALLING SEQUENCE:  index(R);`,`    `,
`PARAMETERS:  R = a crystallographic root system data structure`,`   `,
`SYNOPSIS:   `,
`  The index of connection of a crystallographic root system R is the`,
`  index of the root lattice in the weight lattice. Equivalently, it is`,
`  the determinant of the Cartan matrix. It is also expressible as`,
`  char_poly(w,R,1), where w is a Coxeter element, or 1 + the number of`,
`  dominant minuscule weights, or (if R is irreducible) 1 + the number of`,
`  1's in the root coordinates of highest_root(R).`,`   `,
`  If the given root system is not crystallographic, an error is generated. `,
`     `,
`  For a description of root system data structures, see coxeter[structure].`,
`   `,`EXAMPLES:   `,
`  index(D4);                         yields             4 `,
`  index([e1-e2,2*e2]);               yields             2`,`   `,
`SEE ALSO:  cartan_matrix, char_poly, highest_root, root_coords, structure,`,
`           weyl[minuscule]`):

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