Implements PolynomialRing.
Definition at line 2014 of file poly.cpp.
2015{
2016 polyheap H(this);
2019 {
2020 for (Nterm& t : b)
2021 {
2024 {
2026 K_->mult_to(d->
coeff, t.coeff);
2028 H.add(d);
2030 }
2031 }
2032 }
2033 return H.value();
2034}
ring_elem diff_term(const_monomial m, const_monomial n, monomial resultmon, int use_coeff) const
References polyheap::add(), Nterm::coeff, diff_term(), PolynomialRing::K_, Nterm::monom, new_term(), Nterm::next, s, and polyheap::value().