Class IntegersModuloN
java.lang.Object
dk.jonaslindstrom.ruffini.common.structures.QuotientRing<Integer>
dk.jonaslindstrom.ruffini.integers.structures.IntegersModuloN
- All Implemented Interfaces:
AdditiveGroup<Integer>
,CommutativeMonoid<Integer>
,Monoid<Integer>
,Ring<Integer>
,Semigroup<Integer>
,SemiRing<Integer>
,Set<Integer>
- Direct Known Subclasses:
PrimeField
This class is an implementation of ℤ / nℤ, e.g. the integers ℤ modulo the principal
ideal generated by a given integer n.
- Author:
- jonas
-
Field Summary
Fields inherited from class dk.jonaslindstrom.ruffini.common.structures.QuotientRing
mod, ring
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dk.jonaslindstrom.ruffini.common.structures.QuotientRing
add, equals, identity, multiply, negate, toString, toString, zero
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sum
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, add
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Monoid
isIdentity, power
-
Constructor Details
-
IntegersModuloN
-
-
Method Details
-
getModulus
public int getModulus()
-