3 #include "../CoCoAAdaptor.h"
8 template<
typename C,
typename O,
typename P>
9 class MultivariatePolynomial;
14 template<
typename C,
typename O,
typename P>
22 [](
const MultivariatePolynomial<mpq_class,O,P>& p,
const MultivariatePolynomial<mpq_class,O,P>& q){ CoCoAAdaptor<MultivariatePolynomial<mpq_class,O,P>> c({p, q});
return c.makeCoprimeWith(p, q); },
A small wrapper that configures logging for carl.
carl is the main namespace for the library.
MultivariatePolynomial< C, O, P > coprimePart(const MultivariatePolynomial< C, O, P > &p, const MultivariatePolynomial< C, O, P > &q)
Calculates the coprime part of p and q.
The general-purpose multivariate polynomial class.
bool is_constant() const
Check if the polynomial is constant.