705{
706
707
708
709
711
715 {
717 if (exp[0] < deg)
718 {
719 ERROR(
"incorrect Hilbert function given");
720 fprintf(
721 stderr,
722 "internal error: incorrect Hilbert function given, aborting\n");
723 fprintf(
724 stderr,
725 "exp[0]: %d deg: %d\n", exp[0], deg);
726 abort();
727 }
728 else if (exp[0] == deg)
729 {
730 std::pair<bool, long> res =
732 assert(res.first &&
733 std::abs(res.second) < std::numeric_limits<int>::max());
734 int n = static_cast<int>(res.second);
736 }
737 }
740}
exponents::Exponents exponents_t
void to_expvector(const_monomial m, exponents_t result_exp) const
const Ring * getCoefficientRing() const
virtual const Monoid * getMonoid() const
virtual std::pair< bool, long > coerceToLongInteger(ring_elem a) const
virtual const PolynomialRing * cast_to_PolynomialRing() const
ring_elem get_value() const
const Ring * get_ring() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
#define newarray_atomic(T, len)