nzmath.poly.uniutil

PolynomialIdeal

A class to represent an ideal of univariate polynomial ring.

This class inherits ring.Ideal.

Constructor

PolynomialIdeal(generators, polyring)

Initialize an ideal in the given polyring (polynomial ring).

generators: a generator polynomial or a list of polynomials

Methods

issubset(other)

Report whether another ideal contains this ideal.

issuperset(other)

Report whether this ideal contains another ideal.

reduce(element)

Reduce the given element by the ideal. The result is an element of the class which represents the equivalent class.

Operators

I + Jaddition
I * Jmultiplication
I == Jequality
I != Jinequality
e in Imembership test