193{
194 int numVarsFound = 0;
196 auto fIt = f.cbegin();
197 auto fEnd = f.cend();
198
199 for (
auto i = 0; i <
numVars(); i++)
201
202 for ( ; fIt != fEnd; fIt++)
203 {
205 for (auto i : exp)
206 {
207 if (exp2[i] == 0)
208 {
210 numVarsFound++;
211 }
212 }
213 if (numVarsFound ==
numVars())
break;
214 }
215
217 for (
int i = 0; i <
numVars(); i++)
218 if (exp2[i] > 0)
exp.push_back(i);
219
221 int next = 0;
222 for (auto i : exp)
223 result->array[next++] = i;
225}
const FreeMonoid & monoid() const
void support(const Monom &m, std::vector< int > &result) const
MPREAL_MSVC_DEBUGVIEW_DATA void clear(::mpfr_ptr)
VALGRIND_MAKE_MEM_DEFINED & result(result)
M2_arrayint M2_makearrayint(int n)
const mpreal exp2(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())