ZonalPol: Zonal polynomial

View source: R/Polynomials.R

ZonalPolR Documentation

Zonal polynomial

Description

Returns the zonal polynomial.

Usage

ZonalPol(n, lambda, algorithm = "DK", basis = "canonical", exact = TRUE)

Arguments

n

number of variables, a positive integer

lambda

an integer partition, given as a vector of decreasing integers

algorithm

the algorithm used, either "DK" or "naive"

basis

the polynomial basis for algorithm = "naive", either "canonical" or "MSF" (monomial symmetric functions); for algorithm = "DK" the canonical basis is always used and this parameter is ignored

exact

logical, whether to get rational coefficients

Value

A mvp multivariate polynomial (see mvp-package), or a qspray multivariate polynomial if exact = TRUE and algorithm = "DK", or a character string if basis = "MSF".

Examples

ZonalPol(3, lambda = c(3,1), algorithm = "naive")
ZonalPol(3, lambda = c(3,1), algorithm = "DK")
ZonalPol(3, lambda = c(3,1), algorithm = "DK", exact = FALSE)
ZonalPol(3, lambda = c(3,1), algorithm = "naive", basis = "MSF")

jack documentation built on July 9, 2023, 7:09 p.m.