Interface Loop<E>
A Loop is a Quasigroup with an identity element.
A Quasigroup is a Magma where division is always possible (Latin Square property). A Loop adds the requirement of a neutral element (identity). Unlike Groups, Loops are not required to be associative.
Mathematical Definition
A loop (L, ·) is a set L with a binary operation · such that:
- For every a, b ∈ L, there exist unique x, y ∈ L such that a · x = b and y · a = b.
- There exists an identity element e ∈ L such that a · e = a and e · a = a for all a ∈ L.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionidentity()Returns the identity element of the loop.leftDivide(E a, E b) Left division.rightDivide(E a, E b) Right division.Methods inherited from interface Magma
isAssociative, isCommutative, operateMethods inherited from interface Set
contains, description, isEmpty
-
Method Details
-
identity
-
leftDivide
-
rightDivide
-