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.QuotientFieldElement Class Reference
Inheritance diagram for nzmath.ring.QuotientFieldElement:
[legend]
Collaboration diagram for nzmath.ring.QuotientFieldElement:
[legend]

Public Member Functions

def __init__ (self, numerator, denominator)
 
def __add__ (self, other)
 
def __sub__ (self, other)
 
def __rsub__ (self, other)
 
def __neg__ (self)
 
def __mul__ (self, other)
 
def __pow__ (self, index)
 
def __truediv__ (self, other)
 
def __rtruediv__ (self, other)
 
def inverse (self)
 
def __eq__ (self, other)
 
def __hash__ (self)
 
- Public Member Functions inherited from nzmath.ring.FieldElement
def __init__ (self)
 
def exact_division (self, other)
 
- Public Member Functions inherited from nzmath.ring.CommutativeRingElement
def mul_module_action (self, other)
 
- Public Member Functions inherited from nzmath.ring.RingElement
def __init__ (self, *args, **kwd)
 
def getRing (self)
 
def __ne__ (self, other)
 

Public Attributes

 numerator
 
 denominator
 

Static Private Attributes

def __radd__ = __add__
 
def __rmul__ = __mul__
 
def __div__ = __truediv__
 

Detailed Description

QuotientFieldElement class is an abstract class to be used as a
super class of concrete quotient field element classes.

Definition at line 361 of file ring.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.ring.QuotientFieldElement.__init__ (   self,
  numerator,
  denominator 
)

Reimplemented in nzmath.rational.Rational.

Definition at line 367 of file ring.py.

Member Function Documentation

◆ __add__()

◆ __eq__()

◆ __hash__()

◆ __mul__()

◆ __neg__()

◆ __pow__()

◆ __rsub__()

◆ __rtruediv__()

def nzmath.ring.QuotientFieldElement.__rtruediv__ (   self,
  other 
)

Reimplemented in nzmath.rational.Rational.

Definition at line 434 of file ring.py.

References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.rational.Rational.denominator, nzmath.module.Module.denominator, nzmath.ring.QuotientFieldElement.denominator, nzmath.poly.ratfunc.RationalFunction.getRing(), nzmath.poly.multiutil.RingElementProvider.getRing(), nzmath.real.Real.getRing(), nzmath.finitefield.FinitePrimeFieldElement.getRing(), nzmath.imaginary.Complex.getRing(), nzmath.intresidue.IntegerResidueClass.getRing(), nzmath.ring.RingElement.getRing(), nzmath.poly.multiutil.RingPolynomial.getRing(), nzmath.finitefield.ExtendedFieldElement.getRing(), nzmath.rational.Rational.getRing(), nzmath.algfield.BasicAlgNumber.getRing(), nzmath.algfield.MatAlgNumber.getRing(), nzmath.rational.Integer.getRing(), nzmath.matrix.RingSquareMatrix.getRing(), nzmath.poly.uniutil.RingElementProvider.getRing(), nzmath.poly.uniutil.RingPolynomial.getRing(), nzmath.quad.ReducedQuadraticForm.inverse(), nzmath.permute.Permute.inverse(), nzmath.imaginary.Complex.inverse(), nzmath.intresidue.IntegerResidueClass.inverse(), nzmath.group.GroupElement.inverse(), nzmath.permute.ExPermute.inverse(), nzmath.ring.QuotientFieldElement.inverse(), nzmath.algfield.BasicAlgNumber.inverse(), nzmath.finitefield.ExtendedFieldElement.inverse(), nzmath.module.Ideal.inverse(), nzmath.algfield.MatAlgNumber.inverse(), nzmath.rational.Integer.inverse(), nzmath.matrix.FieldSquareMatrix.inverse(), nzmath.rational.Rational.numerator, and nzmath.ring.QuotientFieldElement.numerator.

◆ __sub__()

◆ __truediv__()

◆ inverse()

Member Data Documentation

◆ __div__

def nzmath.ring.QuotientFieldElement.__div__ = __truediv__
staticprivate

Definition at line 444 of file ring.py.

◆ __radd__

def nzmath.ring.QuotientFieldElement.__radd__ = __add__
staticprivate

Definition at line 384 of file ring.py.

◆ __rmul__

def nzmath.ring.QuotientFieldElement.__rmul__ = __mul__
staticprivate

Definition at line 419 of file ring.py.

◆ denominator

◆ numerator


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