671{
672 if (lev == 0) return true;
674 auto& mylevel =
level(lev);
676 int which = 0;
677 for (auto i = mylevel.cbegin(); i != mylevel.cend(); ++i, ++which)
678 {
680 {
681 std::cout << "Error: terms of polynomial at level " << lev
682 << " location " << which << " not in order" << std::endl;
683 std::cout << " poly = ";
685 std::cout << std::endl;
687 }
688 }
690}
std::vector< FrameElement > & level(int lev)
const ResPolyRing & ring() const
ResSchreyerOrder & schreyerOrder(int lev)
VALGRIND_MAKE_MEM_DEFINED & result(result)
bool check_poly(const ResPolyRing &R, const ResPolynomial &f, const ResSchreyerOrder &ord)
void display_poly(std::ostream &o, const ResPolyRing &R, const ResPolynomial &f)