invariants(P,d)This function is provided by the package InvariantRing.
When called on a permutation action and a degree, it computes an additive basis for the invariants of the action in the given degree. The basis is given by the orbit sums in the given degree; for more details, see Proposition 4.12 of M. D. Neusel, Invariant theory, AMS 2007.
The following example recovers the monomial symmetric functions of degree 5 in four variables. The generating permutations can be entered as one-line notation arrays or lists of cycles arrays as in permutationMatrix, and are stored in one-line notation.
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/InvariantRing/InvariantsDoc.m2:1147:0.