The class is for rings of integer residue classes. A subclass of nzmath.ring.CommutativeRing.
The argument modulus = m specifies an ideal mZ.
Return True if the modulus is prime, False if not. Since a finite domain is a field, other ring property tests are merely aliases of isfield; they are isdomain, iseuclidean, isnoetherian,ispid, isufd
Create a IntegerResidueClass instance with seed.
Return an instance of the class of specified modulus. Since this is a class method, use it as:
IntegerResidueClassRing.getInstance(3)
to create a Z/3Z object, for example.
in | whether an element is in the ring or not. |
== | equality |
repr | return repr string like "IntegerResiduClassRing(3)". |
str | return str string like "Z/3Z". |