Learn R Programming

syt (version 0.5.0)

KostkaNumbersWithGivenMu: Kostka numbers with given \(\mu\)

Description

Lists all positive Kostka numbers \(K(\lambda,\mu)\) with a given partition \(\mu\).

Usage

KostkaNumbersWithGivenMu(mu, output = "vector")

Value

If output="vector", this function returns a named vector. This vector is made of the positive Kostka numbers

\(K(\lambda,\mu)\) and its names encode the partitions \(\lambda\). If output="list", this function returns a list of lists. Each of these lists has two elements. The first one is named lambda and is an integer partition, and the second one is named value and is a positive integer, the Kostka number \(K(\lambda,\mu)\). It is faster to compute the Kostka numbers with this function than computing the individual Kostka numbers with the function KostkaNumber.

Arguments

mu

integer partition

output

the format of the output, either "vector" or "list"

See Also

KostkaNumber, KostkaNumbers, KostkaNumbersWithGivenLambda.

Examples

Run this code
KostkaNumbersWithGivenMu(c(2, 1, 1))

Run the code above in your browser using DataLab