This function computes the ring of invariants of a diagonalizable group D = T\times G where T is a torus and G is a finite abelian group, both acting diagonally on the polynomial ring K[X_1,\ldots,X_n]. The group actions are specified by the input matrices M and N. The first matrix specifies the torus action, the second the action of the finite group. See torusInvariants or finiteDiagInvariants for more detail. The output is the monomial subalgebra of invariants.
This method can be used with the options allComputations and grading.
i4 : diagInvariants(T,U,R)
70 35 19 10 4 6 5 15 5 10 26 4 15 37 3 20 48 2 25 59 30 70 35
o4 = QQ[y z , x*y z , x y z , x y z , x y z , x y z , x y z , x y*z , x z ]
o4 : monomial subalgebra of R