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 P, such that P(p1,...,pn) equals the input symmetric polynomial, where pi 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 polynomialspsPolys <- lapply(1:numberOfVariables(pspExpr),function(i) PSFpoly(4, i))# then this should be TRUE:qspray == changeVariables(pspExpr, psPolys)