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

Public Member Functions

def __init__ (self)
 
def getRing (self)
 
def getCoefficientRing (self)
 
def set_coefficient_ring (self, coeffring)
 
- Public Member Functions inherited from nzmath.ring.CommutativeRingElement
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 __eq__ (self, other)
 
def __hash__ (self)
 
def __ne__ (self, other)
 

Private Attributes

 _coefficient_ring
 
 _ring
 

Detailed Description

Provides interfaces for ring.CommutativeRingElement.

Definition at line 95 of file multiutil.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.poly.multiutil.RingElementProvider.__init__ (   self)
Do not instantiate RingElementProvider.
This initializer should be called from descendant:
  RingElementProvider.__init__(self)

Reimplemented from nzmath.ring.CommutativeRingElement.

Definition at line 99 of file multiutil.py.

References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, and nzmath.matrix.Subspace.__class__.

Member Function Documentation

◆ getCoefficientRing()

◆ getRing()

def nzmath.poly.multiutil.RingElementProvider.getRing (   self)
Return an object of a subclass of Ring, to which the element
belongs.

Reimplemented from nzmath.ring.RingElement.

Reimplemented in nzmath.poly.multiutil.RingPolynomial.

Definition at line 111 of file multiutil.py.

References nzmath.poly.multiutil.RingElementProvider._coefficient_ring, nzmath.poly.multiutil.RingElementProvider._ring, nzmath.poly.formalsum.FormalSumContainerInterface.itercoefficients(), nzmath.poly.univar.BasicPolynomial.itercoefficients(), nzmath.poly.formalsum.DictFormalSum.itercoefficients(), nzmath.poly.multivar.BasicPolynomial.itercoefficients(), nzmath.poly.formalsum.ListFormalSum.itercoefficients(), nzmath.poly.univar.SortedPolynomial.itercoefficients(), and nzmath.poly.multiutil.RingElementProvider.set_coefficient_ring().

Referenced by nzmath.poly.multiutil.RingPolynomial.__add__(), nzmath.ring.QuotientFieldElement.__add__(), nzmath.poly.uniutil.RingPolynomial.__add__(), nzmath.ring.QuotientFieldElement.__eq__(), nzmath.poly.uniutil.FieldPolynomial.__pow__(), nzmath.poly.multiutil.RingPolynomial.__radd__(), nzmath.poly.uniutil.RingPolynomial.__radd__(), nzmath.poly.multiutil.RingPolynomial.__rsub__(), nzmath.ring.QuotientFieldElement.__rsub__(), nzmath.poly.uniutil.RingPolynomial.__rsub__(), nzmath.ring.QuotientFieldElement.__rtruediv__(), nzmath.poly.multiutil.RingPolynomial.__sub__(), nzmath.ring.QuotientFieldElement.__sub__(), nzmath.poly.uniutil.RingPolynomial.__sub__(), nzmath.ring.QuotientFieldElement.__truediv__(), nzmath.poly.uniutil.PrimeCharacteristicFunctionsProvider._small_index_mod_pow(), nzmath.ring.CommutativeRingElement.exact_division(), nzmath.poly.uniutil.DivisionProvider.extgcd(), nzmath.poly.uniutil.PrimeCharacteristicFunctionsProvider.factor(), nzmath.poly.uniutil.DivisionProvider.mod_pow(), nzmath.poly.uniutil.PrimeCharacteristicFunctionsProvider.mod_pow(), nzmath.poly.uniutil.PseudoDivisionProvider.monic_pow(), nzmath.ring.CommutativeRingElement.mul_module_action(), and nzmath.poly.uniutil.SubresultantGcdProvider.subresultant_gcd().

◆ set_coefficient_ring()

Member Data Documentation

◆ _coefficient_ring

nzmath.poly.multiutil.RingElementProvider._coefficient_ring
private

Definition at line 108 of file multiutil.py.

Referenced by nzmath.poly.ring.PolynomialRing.__contains__(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.__contains__(), nzmath.poly.ring.PolynomialRing.__eq__(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.__eq__(), nzmath.poly.uniutil.RingPolynomial.__getitem__(), nzmath.poly.ring.PolynomialRing.__hash__(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.__hash__(), nzmath.poly.multiutil.DomainPolynomial.__init__(), nzmath.poly.multiutil.UniqueFactorizationDomainPolynomial.__init__(), nzmath.poly.ring.PolynomialRing.__repr__(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.__repr__(), nzmath.poly.uniutil.RingPolynomial.__repr__(), nzmath.poly.ring.PolynomialRing.__str__(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.__str__(), nzmath.poly.ring.PolynomialRing._constant_polynomial(), nzmath.poly.ring.PolynomialRing._prepared_polynomial(), nzmath.poly.ring.PolynomialRing._zero_polynomial(), nzmath.poly.ring.PolynomialRing.createElement(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.createElement(), nzmath.poly.ring.PolynomialRing.getCharacteristic(), nzmath.poly.ring.PolynomialRing.getCoefficientRing(), nzmath.poly.multiutil.RingElementProvider.getCoefficientRing(), nzmath.poly.multiutil.RingPolynomial.getCoefficientRing(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.getCoefficientRing(), nzmath.poly.uniutil.RingPolynomial.getCoefficientRing(), nzmath.poly.ring.PolynomialRing.getCommonSuperring(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.getCommonSuperring(), nzmath.poly.ring.PolynomialRing.getQuotientField(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.getQuotientField(), nzmath.poly.multiutil.RingElementProvider.getRing(), nzmath.poly.uniutil.RingElementProvider.getRing(), nzmath.poly.uniutil.RingPolynomial.ismonic(), nzmath.poly.ring.PolynomialRing.issubring(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.issubring(), nzmath.poly.ring.PolynomialRing.issuperring(), nzmath.poly.multiutil.PolynomialRingAnonymousVariables.issuperring(), nzmath.poly.multiutil.UniqueFactorizationDomainPolynomial.resultant(), nzmath.poly.multiutil.RingElementProvider.set_coefficient_ring(), and nzmath.poly.uniutil.RingElementProvider.set_coefficient_ring().

◆ _ring


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