Returns the Macdonald polynomial associated to the given integer partition.
MacdonaldPol(n, lambda, which = "P")A symbolicQspray multivariate polynomial, the
Macdonald polynomial associated to the integer partition
lambda. It has two parameters usually denoted by \(q\)
and \(t\). Substituting \(q\) with \(0\) yields the Hall-Littlewood polynomials.
number of variables, a positive integer
integer partition
which Macdonald polynomial, "P", "Q",
or "J"