PSPexpression function

Symmetric polynomial in terms of the power sum polynomials

Symmetric polynomial in terms of the power sum polynomials

Expression of a symmetric qspray polynomial as a polynomial in the power sum polynomials.

PSPexpression(qspray)

Arguments

  • qspray: a symmetric qspray polynomial; symmetry is not checked

Returns

A qspray polynomial, say PP, such that P(p1,...,pn)P(p_1, ..., p_n) equals the input symmetric polynomial, where pip_i is the i-th power sum polynomial (PSFpoly(n, i)).

Examples

# take a symmetric polynomial ( qspray <- ESFpoly(4, c(2, 1)) + ESFpoly(4, c(2, 2)) ) # compute the power sum expression ( pspExpr <- PSPexpression(qspray) ) # take the involved power sum polynomials psPolys <- lapply(1:numberOfVariables(pspExpr), function(i) PSFpoly(4, i)) # then this should be TRUE: qspray == changeVariables(pspExpr, psPolys)

See Also

PSPcombination

  • Maintainer: Stéphane Laurent
  • License: GPL-3
  • Last published: 2024-07-27