Class BigIntegersModuloN
java.lang.Object
dk.jonaslindstrom.ruffini.common.structures.QuotientRing<BigInteger>
dk.jonaslindstrom.ruffini.integers.structures.BigIntegersModuloN
- All Implemented Interfaces:
AdditiveGroup<BigInteger>,CommutativeMonoid<BigInteger>,Monoid<BigInteger>,Ring<BigInteger>,Semigroup<BigInteger>,SemiRing<BigInteger>,Set<BigInteger>
- Direct Known Subclasses:
BigPrimeField
This class is an implementation of ℤ / nℤ, e.g. the integers ℤ modulo the principal
ideal generated by a given integer n.
-
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, zeroMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sumMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, addMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Monoid
isIdentity
-
Constructor Details
-
BigIntegersModuloN
-
BigIntegersModuloN
public BigIntegersModuloN(int n)
-
-
Method Details
-
getModulus
-
power
Description copied from interface:MonoidReturn xe
-