Symmetric polynomial as a linear combination of some power sum polynomials
Symmetric polynomial as a linear combination of some power sum polynomials
Expression of a symmetric qspray polynomial as a linear combination of some power sum polynomials.
PSPcombination(qspray)
Arguments
qspray: a symmetric qspray polynomial; symmetry is not checked
Returns
A list of pairs. Each pair is made of a bigq number, the coefficient of the term of the linear combination, and an integer partition, corresponding to a power sum polynomial.
Examples
# take a symmetric polynomial( qspray <- ESFpoly(4, c(2,1))+ ESFpoly(4, c(2,2)))# compute the power sum combination( pspCombo <- PSPcombination(qspray))# then the polynomial can be reconstructed as follows:Reduce(`+`, lapply(pspCombo,function(term){ term[["coeff"]]* PSFpoly(4, term[["lambda"]])}))