3 #include "../MultivariatePolynomial.h"
4 #include "../UnivariatePolynomial.h"
7 template<
typename Coeff>
21 template<
typename Coeff>
States if a type is a field.
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.
typename UnderlyingNumberType< P >::type Coeff
bool is_one(const Interval< Number > &i)
Check if this interval is a point-interval containing 1.
This class represents a univariate polynomial with coefficients of an arbitrary type.
bool is_normal() const
Checks whether the polynomial is unit normal.
const std::vector< Coefficient > & coefficients() const &
Retrieves the coefficients defining this polynomial.