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

◆ rawResolutionBetti()

M2_arrayintOrNull rawResolutionBetti ( Computation * C,
int type )

Definition at line 617 of file groebner.cpp.

619{
620 try
621 {
623 if (G != nullptr) return G->get_betti(type);
624 ERROR("expected resolution computation type");
625 return nullptr;
626 } catch (const exc::engine_error& e)
627 {
628 ERROR(e.what());
629 return nullptr;
630 }
631}
virtual ResolutionComputation * cast_to_ResolutionComputation()
Definition comp.hpp:112
Base class for free resolution computation classes.
Definition comp-res.hpp:52
const int ERROR
Definition m2-mem.cpp:55
tbb::flow::graph G

References Computation::cast_to_ResolutionComputation(), ERROR, and G.