Definition at line 455 of file det.cpp.
462{
464 {
466 "determinant computations over RR or CC requires Strategy=>Cofactor");
467 return nullptr;
468 }
469 if (first_row != nullptr || first_col != nullptr)
470 {
471
472 if (first_row ==
nullptr || first_row->len !=
p)
473 {
474 ERROR(
"row index set inappropriate");
475 return nullptr;
476 }
477 if (first_col ==
nullptr || first_col->len !=
p)
478 {
479 ERROR(
"column index set inappropriate");
480 return nullptr;
481 }
482 }
483 DetComputation *d =
new DetComputation(
this,
p, 0, strategy);
484 if (first_row != nullptr && first_col != nullptr)
486 d->
calc(n_to_compute);
490}
void set_next_minor(const int *rows, const int *cols)
const Ring * get_ring() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References DetComputation::calc(), DET_BAREISS, DetComputation::determinants(), ERROR, freemem(), get_ring(), Matrix(), minors(), p, result(), and DetComputation::set_next_minor().