nzmath.polynomial | (ÆüËܸì)

OneVariablePolynomialCharNonZero

OneVariablePolynomialCharNonZero is a class representing a polynomial with positive characteristic coefficient ring. It is a subclass of OneVariablePolynomial.

Constructor

OneVariablePolynomialCharNonZero(coefficient, variable, coeffring)

Specify coefficient by OneVariablePolynomialCoefficients or a list(see OneVariableDensePolynomial). A dictionary (see OneVariableSparsePolynomial) cannot be used.

Methods

distinctDegreeFactorization()

Factor into each degree factors. The result is a dictionary with degrees as keys and their (product of) factors as value.

When the method is called, the polynomial must be squarefree. The coefficient ring must be a finite field.

factor()

Factor the polynomial.

isIrreducible()

Return whether the polynomial is irreducible or not.

pthroot()

If the characteristic is p and the polynomial is powered to p, then return the p-th root polynomial.

splitSameDegrees(degree)

Factor a distinct degree factored polynomial into each polynomial having the degree degree.

squareFreeDecomposition()

Decompose into squarefree factors.

Operators

f ** if to the i-th power

Inherited Operators

The operators below are inherited from OneVariablePolynomial:

+(binary) , -(binary), *, /, divmod, //, %, -(unary), +(unary), ==, !=


Last-modified: 2005-10-26 (¿å) 16:39:27