Polynomial with domain coefficients. In addition to the basic polynomial operations, it has pseudo division methods.
This class inherits RingPolynomial and PseudoDivisionProvider.
Initialize the polynomial.
f.pseudo_divmod(other) -> (Q, R)
Q, R are polynomials such that
d**(deg(f) - deg(other) + 1) * f == other * Q + R,
where d is the leading coefficient of other.
(This method is inherited from PseudoDivisionProvider)
f.pseudo_floordiv(other) -> Q
Q is a polynomial such that
d**(deg(f) - deg(other) + 1) * f == other * Q + R,
where d is the leading coefficient of other and R is a polynomial.
(This method is inherited from PseudoDivisionProvider)
f.pseudo_mod(other) -> R
R is a polynomial such that
d**(deg(f) - deg(other) + 1) * f == other * Q + R,
where d is the leading coefficient of other and Q a polynomial.
(This method is inherited from PseudoDivisionProvider)
Return quotient of exact division.
(This method is inherited from PseudoDivisionProvider)
Return quotient by a scalar which can divide each coefficient exactly.
(This method is inherited from PseudoDivisionProvider)
Return discriminant of the polynomial.
(new in 0.90.0)
Return a FieldPolynomial object obtained by embedding the
polynomial ring over the domain D to over the quatient field
of D.
(new in 0.90.0)