Definition at line 289 of file Eschreyer.cpp.
292{
293
295 this_mi->find_all_divisors(exp, bb);
296 int ndivisors = bb.size();
297 if (ndivisors == 0) return 0;
298 result = bb[0]->basis_elem();
299
301 if (this_mi->size() > 1)
302 {
303 buffer o;
304 o <<
":" << this_mi->
size() <<
"." << ndivisors <<
":";
306 }
307 if (ndivisors == 1)
308 {
309 if (this_mi->size() == 1)
311 else
313 return 1;
314 }
316
318 for (int i = 1; i < ndivisors; i++)
319 {
320 int p = bb[i]->basis_elem();
321 if (
p < lowest) lowest =
p;
322 }
324 return ndivisors;
325}
VALGRIND_MAKE_MEM_DEFINED & result(result)
typename std::vector< T, gc_allocator< T > > gc_vector
a version of the STL vector, which allocates its backing memory with gc.
References emit(), MonomialIdeal::find_all_divisors(), M2_gbTrace, n_ones, n_others, n_unique, p, result(), MonomialIdeal::size(), and buffer::str().
Referenced by geo_reduce(), and reduce().