Implements PolynomialRing.
Definition at line 2115 of file poly.cpp.
2116{
2117 Nterm *t = a;
2118 if (t == nullptr)
2119 {
2120 ERROR(
"attempting to find degree of a zero element");
2121 return;
2122 }
2124 M_->to_expvector(t->
monom, exp);
2126 for (t = t->
next; t !=
nullptr; t = t->
next)
2127 {
2128 M_->to_expvector(t->
monom, exp);
2129 if (exp[n] < lo)
2131 else if (exp[n] > hi)
2133 }
2135}
exponents::Exponents exponents_t
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
#define newarray_atomic(T, len)
References ERROR, freemem(), PolynomialRing::M_, Nterm::monom, PolynomialRing::n_vars(), newarray_atomic, and Nterm::next.