`QF/text/pfaff` := TEXT(
` `,
`FUNCTION:  pfaff - pfaffian for a (possibly skew) Schur Q-function`,
`  `,
`CALLING SEQUENCE:  pfaff(lambda);`,
`                   pfaff(lambda,mu);`,
`  `,
`PARAMETERS:  lambda,mu = partitions with distinct parts`,
`   `,
`SYNOPSIS:`,
`  If lambda is a partition with l parts, all distinct, then the Schur`,
`  Q-function Q[lambda] is expressible as the pfaffian of the skew`,
`  symmetric matrix whose [i,j] entry is the two-rowed Q-function`,
`  Q[lambda[i],lambda[j]]. If l is odd, then one should add an extra`,
`  row and column by setting lambda[l+1]=0.`,
`   `,
`  More generally, if mu is a second partition with m parts, all distinct,`,
`  then the Schur Q-function associated to the "skew shape" lambda/mu is`,
`  the pfaffian of the skew symmetric matrix `,
`                            [ A  B ]`,
`                            [ C  0 ]`,
`  where A is the above matrix, C=-B^T, and B is the l x m matrix whose`,
`  [i,j] entry is the one-rowed Q-function Q[lambda[i]-mu[m+1-j]]. If l+m`,
`  is odd, one adds an extra row and column by setting lambda[l+1]=0.`,
`   `,
`  pfaff(lambda) evaluates the pfaffian associated to lambda, leaving the`,
`  result as a polynomial in one- and two-rowed Q-functions.`,
`   `,
`  pfaff(lambda,mu) does the same for the skew shape lambda/mu.`,
`   `,
`EXAMPLES:`,
`  pfaff([8,4,1]);       yields    Q[8]*Q[4,1]-Q[4]*Q[8,1]+Q[1]*Q[8,4] `,
`  pfaff([8,4,3],[3]);   yields      Q[5]*Q[4,3]-Q[1]*Q[8,3]+Q[8,4]`,
`  `,
`SEE ALSO:  DPar, toddq, toq, toP, toQ`,
NULL):

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