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

◆ rawResolutionGetMatrix2()

MutableMatrix * rawResolutionGetMatrix2 ( Computation * G,
int level,
int degree )

Definition at line 502 of file groebner.cpp.

505{
506 try
507 {
509 ResolutionComputation *G = C->cast_to_ResolutionComputation();
510 if (G != nullptr) return G->get_matrix(level, degree);
511 ERROR("expected resolution computation type");
512 return nullptr;
513 } catch (const exc::engine_error& e)
514 {
515 ERROR(e.what());
516 return nullptr;
517 }
518}
Base class for free resolution computation classes.
Definition comp-res.hpp:52
const int ERROR
Definition m2-mem.cpp:55
tbb::flow::graph G
void clear_emit_size()
Definition text-io.cpp:26

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