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

◆ recomputeHilbertFunction()

bool HilbertController::recomputeHilbertFunction ( )
private

Definition at line 68 of file hilb-fcn.cpp.

69{
71 {
72 // Recompute h, hf_diff
74 RingElement *h = hilb_comp::hilbertNumerator(M);
75 if (h == nullptr) return false; // computation was interrupted
76 hf_diff = (*h) - (*hf_orig);
77 hilb_new_elems = false;
78 }
79 return true;
80}
RingElement * hf_diff
Definition hilb-fcn.hpp:91
Matrix * make_lead_term_matrix()
Definition hilb-fcn.cpp:82
static RingElement * hilbertNumerator(const Matrix *M)
Definition hilb.cpp:665
#define Matrix
Definition factory.cpp:14

References hf_diff, hilb_new_elems, hilb_comp::hilbertNumerator(), make_lead_term_matrix(), and Matrix.

Referenced by setDegree().