Enumerates all of the elements of the group. The base implementation is probably not a good idea for anything with more than a few hundred elements. However, the RewriteGroup
has a much faster algorithm.
An array of all of the group elements.
Inverts a group element. Assumes that every one of the generators is of order 2.
The element to invert.
The group inverse of the element.
Applies a certain RewriteRule
once on a given number array.
The element to rewrite.
The index of the rewrite rule that will be applied.
Slides all entries of an array, starting from a given position, by a certain number of positions.
The array to slide.
The starting index for the slide.
The number of positions to slide the elements.
The array, resized and slided. This can either be the original array modified, or a new array.
Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM
A class for groups defined using (normalizing rewriting systems)[https://en.wikipedia.org/wiki/Rewriting].