`SF/text/tos` := TEXT(
`   `,
`FUNCTION:  tos - convert a symmetric function to the Schur function basis`,
`   `,
`CALLING SEQUENCE:  tos(f);  tos(f,<options>);`,
`   `,
`PARAMETERS:     f     = a symmetric function`,
`            <options> = any of the following (in any order):`,
`                        (1) a basis name`,
`                        (2) an equation of the form 'nrows=<integer>'`,
`   `,
`SYNOPSIS:`,
`  If f is any symmetric function, tos(f) will convert f into a linear`,
`  combination of the Schur functions s[lambda], with 'normal' applied to`,
`  the coefficients.`,
`   `,
`  If a name b is supplied as one of the optional arguments, then f is`,
`  assumed to be expressed solely in terms of the basis b. In particular,`,
`  if b is not one of the predefined bases, this requires f to be linear`,
`  in the elements of b.`,
`   `,
`  If n is a positive integer and an equation of the form 'nrows=n' is`,
`  supplied as one of the optional arguments, then the calculation will be`,
`  performed in a quotient of the full ring of symmetric functions; namely,`,
`  the quotient in which the elementary symmetric functions e.m for m > n`,
`  vanish. This quotient has a basis consisting of Schur functions s[lambda]`,
`  for lambda varying over partitions with at most n rows (or parts). These`,
`  Schur functions are the irreducible polynomial characters of GL(n).`,
`   `,
`  Note: To maintain backward compatibility with previous versions of SF,`,
`  a list of partitions containing the support of f may also be supplied as`,
`  an optional argument. However, the new implementation of 'tos' obtains`,
`  no advantage from this information and ignores it.`,
`   `,
`EXAMPLES:`,
`  tos(h3*p2);                     yields             s[5]+s[3,2]-s[3,1,1]`,
`  tos(s[2,1]*s[2,2], s);          yields`,
`                     s[4,3]+s[4,2,1]+s[3,3,1]+s[3,2,2]+s[3,2,1,1]+s[2,2,2,1]`,
`   `,
`#Compute the expansion of a skew Schur function in 3 variables:`,
`   `,
`  f:=linalg[det](jt_matrix([5,4,2,1],[3,2]));`,
`  tos(f,h,nrows=3);                yields`,
`                   s[5,2]+s[5,1,1]+2*s[4,3]+3*s[4,2,1]+2*s[3,3,1]+2*s[3,2,2]`,
`   `,
`SEE ALSO:  add_basis, dual_basis, jt_matrix, toe, toh, top`,
NULL):

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