NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.ring.ResidueClass Class Reference
Inheritance diagram for nzmath.ring.ResidueClass:
[legend]
Collaboration diagram for nzmath.ring.ResidueClass:
[legend]

Public Member Functions

def __init__ (self, x, ideal)
 
def __pos__ (self)
 
def __add__ (self, other)
 
def __sub__ (self, other)
 
def __mul__ (self, other)
 
def __eq__ (self, other)
 
def __hash__ (self)
 
def getRing (self)
 
- Public Member Functions inherited from nzmath.ring.CommutativeRingElement
def __init__ (self)
 
def mul_module_action (self, other)
 
def exact_division (self, other)
 
- Public Member Functions inherited from nzmath.ring.RingElement
def __init__ (self, *args, **kwd)
 
def __ne__ (self, other)
 

Public Attributes

 x
 
 ideal
 

Detailed Description

Element of residue class ring x+I, where I is the modulus ideal
and x is a representative element.

Definition at line 613 of file ring.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.ring.ResidueClass.__init__ (   self,
  x,
  ideal 
)

Definition at line 619 of file ring.py.

Member Function Documentation

◆ __add__()

◆ __eq__()

def nzmath.ring.ResidueClass.__eq__ (   self,
  other 
)

◆ __hash__()

def nzmath.ring.ResidueClass.__hash__ (   self)

Reimplemented from nzmath.ring.RingElement.

Definition at line 645 of file ring.py.

◆ __mul__()

◆ __pos__()

◆ __sub__()

◆ getRing()

Member Data Documentation

◆ ideal

◆ x


The documentation for this class was generated from the following file: