PSPcombination {qspray}R Documentation

Symmetric polynomial as a linear combination of some power sum polynomials

Description

Expression of a symmetric qspray polynomial as a linear combination of some power sum polynomials.

Usage

PSPcombination(qspray)

Arguments

qspray

a symmetric qspray polynomial; symmetry is not checked

Value

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.

See Also

PSPexpression.

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"]])
}))

[Package qspray version 3.1.0 Index]