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

public class IntegersModuloN extends QuotientRing<Integer>
This class is an implementation of ℤ / nℤ, e.g. the integers modulo the principal ideal generated by a given integer n.
Author:
jonas
  • Constructor Details

    • IntegersModuloN

      public IntegersModuloN(Integer n)
  • Method Details

    • getModulus

      public int getModulus()