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

◆ createNCRes

ResolutionComputation * createNCRes ( const Matrix * groebnerBasisMatrix,
int max_level,
int strategy )
friend

Definition at line 15 of file nc-res-computation.cpp.

18{
19 (void) strategy;
20 const M2FreeAlgebraQuotient* ring = gbModuleMatrix->get_ring()->cast_to_M2FreeAlgebraQuotient();
21 if (ring != nullptr)
22 return new NCResComputation(ring->freeAlgebraQuotient(),*gbModuleMatrix,max_level);
23 ERROR("Expected a Matrix over a FreeAlgebraQuotient");
24 return nullptr;
25}
const FreeAlgebraQuotient & freeAlgebraQuotient() const
NCResComputation(const FreeAlgebraQuotient &ring, const Matrix &gbIdealMatrix, int max_level)
const int ERROR
Definition m2-mem.cpp:55

References Ring::cast_to_M2FreeAlgebraQuotient(), ERROR, M2FreeAlgebraQuotient::freeAlgebraQuotient(), Matrix::get_ring(), Matrix, NCResComputation(), and ResolutionComputation::ResolutionComputation().