`QF/text/toQ` := TEXT(
`   `,
`FUNCTION:  toQ - convert to Schur Q-functions`,
`  `,
`CALLING SEQUENCE:  toQ(f,<options>);`,
`  `,
`PARAMETERS:     f     = a symmetric function`,
`            <options> = zero or more of the following (in any order):`,
`                        (1) a basis name`,
`                        (2) a list of partitions with distinct parts`,
`                        (3) an equation of the form 'nrows=<integer>'`,
`   `,
`SYNOPSIS:`,
`  If f is any symmetric function in the Omega algebra, toQ(f) will convert`,
`  f into a linear combination of Schur Q-functions Q[lambda], with 'normal'`,
`  applied to the coefficients.`,
`   `,
`  A number of optional arguments can be passed to the procedure that may`,
`  increase the efficiency, or (in some cases) modify the behavior of 'toQ'.`,
`  In particular, if one of the arguments passed to 'toQ' is ...`,
`   `,
`  (1) One of the special bases of QF; namely, p, q, or P (or P[]), then`,
`  the procedure assumes that f is expressed purely in terms of this basis.`,
`   `,
`  (2) A list of partitions with distinct parts, then the procedure will`,
`  assume (without verification) that if the coefficient of Q[lambda] is`,
`  nonzero in f, then lambda appears in this list. If f is "sparse" with`,
`  respect to Schur Q-functions, this can significantly speed up the`,
`  computation. The procedure 'DPar' can be useful for producing lists of`,
`  partitions for this purpose.`,
`   `,
`  (3) An equation of the form 'nrows=n', where n is a positive integer,`,
`  then the calculation will be performed in a quotient ring of Omega;`,
`  namely, the quotient in which there are only n variables. This is`,
`  equivalent to setting Q[mu]=0 whenever mu has more than n parts.`,
`   `,
`EXAMPLES:`,
`  toQ(2*p5*Q[3,2]);       yields    2*Q[8,2]-2*Q[7,3]+Q[5,3,2]-Q[4,3,2,1]`,
`  toQ(Q[2,1]*Q[3,2], Q, DPar(8,5,4));`,
`                          yields       4*Q[5,3]+2*Q[5,2,1]+2*Q[4,3,1]`,
`##Compute the expansion of a skew Schur Q-function in 3 variables:`,
`  f:=pfaff([6,4,3,1],[2,1]);`,
`  toQ(f, nrows=3);        yields        Q[6,4,1]+Q[6,3,2]+2*Q[5,4,2]`,
` `,
`SEE ALSO:  DPar, pfaff, top, toq, toddp, toddq, toP`,
NULL):

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