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

◆ get_betti()

M2_arrayint gbres_comp::get_betti ( int type) const
virtual

Implements ResolutionComputation.

Definition at line 375 of file res-a2.cpp.

379{
380 if (type == 0) return betti_minimal();
381 if (type == 4)
382 {
383 ERROR(
384 "cannot use Minimize=>true unless res(...,FastNonminimal=>true) was "
385 "used");
386 return nullptr;
387 }
388
389 ERROR("received unsupported betti type for this algorithm");
390 return nullptr;
391}
M2_arrayint betti_minimal() const
Definition res-a2.cpp:326
const int ERROR
Definition m2-mem.cpp:55

References betti_minimal(), and ERROR.