invariants(G,d)
This function is provided by the package InvariantRing
When called on a finite group action and a (multi)degree, it computes an additive basis for the invariants of the action in the given degree.
This function uses an implementation of the Linear Algebra Method described in §3.1.1 of
For example, consider the following action of a dihedral group.
|
|
|
|
|
|
It is important to note that this implementation uses the group generators provided by the user, which can be recovered using generators(FiniteGroupAction). To improve efficiency the user should provide a generating set for the group that is as small as possible.