Macaulay2 Engine
Loading...
Searching...
No Matches

◆ reduce() [2/2]

bool reduce ( BRP & f,
const IntermediateBasis & F,
const IntermediateBasis::const_iterator itF )

Definition at line 358 of file franzi-gb.cpp.

361{
362 bool ret = false;
363 ret = reduceLt(f, F, itF);
364 if (!f.isZero())
365 {
366 if (reduceTail(f, F, itF))
367 {
368 ret = true;
369 }
370 }
371 return ret;
372}
bool isZero() const
bool reduceTail(BRP &f, const IntermediateBasis &F, const IntermediateBasis::const_iterator itF)
bool reduceLt(BRP &f, const IntermediateBasis &F, const IntermediateBasis::const_iterator itF)

References BRP::isZero(), reduceLt(), and reduceTail().

Referenced by gb(), interreduction(), and reduce().