6 #include "../UnivariatePolynomial.h"
15 template<
typename Coeff>
carl is the main namespace for the library.
Coeff content(const UnivariatePolynomial< Coeff > &p)
The content of a polynomial is the gcd of the coefficients of the normal part of a polynomial.
cln::cl_I gcd(const cln::cl_I &a, const cln::cl_I &b)
Calculate the greatest common divisor of two integers.
bool is_zero(const Interval< Number > &i)
Check if this interval is a point-interval containing 0.
UnivariatePolynomial< Coeff > primitive_euclidean(const UnivariatePolynomial< Coeff > &a, const UnivariatePolynomial< Coeff > &b)
Computes the GCD of two univariate polynomial with coefficients from a unique factorization domain us...
UnivariatePolynomial< Coeff > primitive_part(const UnivariatePolynomial< Coeff > &p)
The primitive part of p is the normal part of p divided by the content of p.
UnivariatePolynomial< Coeff > pseudo_remainder(const UnivariatePolynomial< Coeff > ÷nd, const UnivariatePolynomial< Coeff > &divisor)
Calculates the pseudo-remainder.
This class represents a univariate polynomial with coefficients of an arbitrary type.
UnivariatePolynomial normalized() const
The normal part of a polynomial is the polynomial divided by the unit part.