-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commutative rings and division rings; type punning.
- Loading branch information
1 parent
146a987
commit af84658
Showing
3 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/main/java/rocks/palaiologos/maja/structure/CommutativeRing.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package rocks.palaiologos.maja.structure; | ||
|
||
/** | ||
* A division ring is a set R equipped with two binary operations + and ·, where (R, +) and (R, ·) are abelian groups. | ||
* The multiplication distributes over addition (left and right distributivity). | ||
*/ | ||
public interface CommutativeRing<T> extends AdditiveAbelianGroup<T>, MultiplicativeAbelianGroup<T> { | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/rocks/palaiologos/maja/structure/DivisionRing.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package rocks.palaiologos.maja.structure; | ||
|
||
/** | ||
* A division ring is a set R equipped with two binary operations + and ·, where (R, +) is an abelian group and (R, ·) is a group. | ||
* The multiplication distributes over addition (left and right distributivity). | ||
*/ | ||
public interface DivisionRing<T> extends AdditiveAbelianGroup<T>, MultiplicativeGroup<T> { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters