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

◆ try_insert_sg()

bool KBasis::try_insert_sg ( )
inlineprivate

Definition at line 297 of file matrix-kbasis.cpp.

298{
299 Bag *b;
300 if (kb_monideal->search_expvector(kb_exp, b)) return false;
302 {
303 if (do_truncation) insert();
304 return false;
305 }
307 return true;
308}
void insert()
MonomialIdeal * kb_monideal
const int * lo_degree
bool do_truncation
const int * hi_degree
int kb_target_hi_weight
int kb_target_lo_weight
int kb_exp_weight
int_bag Bag
Definition int-bag.hpp:70

References do_truncation, hi_degree, insert(), kb_exp, kb_exp_weight, kb_monideal, kb_target_hi_weight, kb_target_lo_weight, and lo_degree.

Referenced by basis0_singly_graded().