647{
652 if (
p.mBegin == -1)
p.mBegin = last - 1;
655 {
657 {
658 std::cout
659 << "Error: expected terms of polynomial to be in order, in poly#"
660 << last << ": ";
662 std::cout << std::endl;
663 }
664 return false;
665 }
667 return true;
668}
component_index get_component(res_const_packed_monomial m) const
const ResMonoid & monoid() const
std::vector< FrameElement > & level(int lev)
void insertBasic(int lev, res_packed_monomial monom, int degree)
const ResPolyRing & ring() const
ResSchreyerOrder & schreyerOrder(int lev)
void swap(mpfr::mpreal &x, mpfr::mpreal &y)
bool check_poly(const ResPolyRing &R, const ResPolynomial &f, const ResSchreyerOrder &ord)
void display_poly(std::ostream &o, const ResPolyRing &R, const ResPolynomial &f)