3 #include "../MultivariatePolynomial.h"
10 template<
typename C,
typename O,
typename P>
carl is the main namespace for the library.
MultivariatePolynomial< C, O, P > SPolynomial(const MultivariatePolynomial< C, O, P > &p, const MultivariatePolynomial< C, O, P > &q)
Calculates the S-Polynomial of two polynomials.
The general-purpose multivariate polynomial class.
bool is_consistent() const
Asserts that this polynomial complies with the requirements and assumptions for MultivariatePolynomia...
MultivariatePolynomial tail(bool makeFullyOrdered=false) const
For the polynomial p, the function calculates a polynomial p - lt(p).
const Term< Coeff > & lterm() const
The leading term.
const Monomial::Arg & lmon() const
The leading monomial.
std::size_t nr_terms() const
Calculate the number of terms.
Term calcLcmAndDivideBy(const Monomial::Arg &m) const