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.RingPolynomial Class Reference
Inheritance diagram for nzmath.poly.multiutil.RingPolynomial:
Collaboration diagram for nzmath.poly.multiutil.RingPolynomial:

Public Member Functions

def __init__ (self, coefficients, **kwds)
def getRing (self)
def getCoefficientRing (self)
def __repr__ (self)
def __add__ (self, other)
def __radd__ (self, other)
def __sub__ (self, other)
def __rsub__ (self, other)
- Public Member Functions inherited from nzmath.poly.multiutil.OrderProvider
def __init__ (self, order)
- Public Member Functions inherited from nzmath.poly.multiutil.NestProvider
def leading_variable (self)
def nest (self, outer, coeffring)
def unnest (self, q, outer, coeffring)
- Public Member Functions inherited from nzmath.poly.multivar.BasicPolynomial
def __mul__ (self, other)
def __rmul__ (self, other)
def ring_mul (self, other)
def scalar_mul (self, scale)
def term_mul (self, term)
def __pow__ (self, index)
def square (self)
def __hash__ (self)
def __call__ (self, target, value)
def __len__ (self)
def __getitem__ (self, index)
def iterterms (self)
def itercoefficients (self)
def iterbases (self)
def partial_differentiate (self, target)
def erase_variable (self, target=0)
def combine_similar_terms (self, target)
def construct_with_default (self, maindata)
- Public Member Functions inherited from nzmath.poly.multivar.PolynomialInterface
def total_degree (self)
def __neg__ (self)
def __pos__ (self)
- Public Member Functions inherited from nzmath.poly.formalsum.FormalSumContainerInterface
def __iter__ (self)
def __contains__ (self, base)
def __eq__ (self, other)
def __ne__ (self, other)
def __nonzero__ (self)
def terms (self)
def coefficients (self)
def bases (self)
def terms_map (self, func)
def coefficients_map (self, func)
def bases_map (self, func)
- Public Member Functions inherited from nzmath.poly.multiutil.RingElementProvider
def __init__ (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)

Additional Inherited Members

- Public Attributes inherited from nzmath.poly.multiutil.OrderProvider
- Public Attributes inherited from nzmath.poly.multiutil.NestProvider
- Public Attributes inherited from nzmath.poly.multivar.BasicPolynomial

Detailed Description

General polynomial with commutative ring coefficients.

Definition at line 276 of file

Constructor & Destructor Documentation

◆ __init__()

def nzmath.poly.multiutil.RingPolynomial.__init__ (   self,
**  kwds 
Initialize the polynomial.

Required argument:
- coefficients: initializer for polynomial coefficients

Keyword arguments should include:
- coeffring: domain
- number_of_variables: the number of variables

Reimplemented from nzmath.poly.multivar.BasicPolynomial.

Reimplemented in nzmath.poly.multiutil.UniqueFactorizationDomainPolynomial, and nzmath.poly.multiutil.DomainPolynomial.

Definition at line 280 of file

References nzmath.poly.multivar.BasicPolynomial._coefficients, and nzmath.poly.multiutil.RingElementProvider.set_coefficient_ring().

Member Function Documentation

◆ __add__()

◆ __radd__()

◆ __repr__()

◆ __rsub__()

◆ __sub__()

◆ getCoefficientRing()

◆ getRing()

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