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

◆ get_pivot()

bool DetComputation::get_pivot ( ring_elem ** D,
size_t p,
ring_elem & pivot,
size_t & pivot_col )
private

Definition at line 291 of file det.cpp.

296{
297 // MES: it would be worthwhile to find a good pivot.
298 for (size_t c = 0; c <= r; c++)
299 if (!R->is_zero(D0[r][c]))
300 {
301 pivot_col = c;
302 pivot = D0[r][c];
303 return true;
304 }
305 return false;
306}
const Ring * R
Definition det.hpp:56

References R.

Referenced by bareiss_det().