- class GroupOps#
API for mathematical groups.
A group is an algebraic structure consisting of a set of elements equipped with an operation that combines any two elements to form a third element and that satisfies four conditions called the group axioms - closure, associativity, identity and invertibility.
- static identity(a)#
Identity element of the given type’s group.
This method does not rely on the value of a, only the type.
- static compose(a, b)#
Composition of two elements in the group.
- static inverse(a)#
Inverse of the element a.