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

◆ try_insert_mg()

bool KBasis::try_insert_mg ( )
inlineprivate

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

358{
359 Bag *b;
360 if (kb_monideal->search_expvector(kb_exp, b)) return false;
362 {
363 if (do_truncation) insert();
364 return false;
365 }
367 {
371 insert();
372 }
373 return true;
374}
static int lex_compare(int nvars, ConstExponents a, ConstExponents b)
int * kb_exp_multidegree
void insert()
MonomialIdeal * kb_monideal
bool do_truncation
std::vector< int > mHeftVector
int kb_target_lo_weight
int * kb_target_multidegree
int kb_exp_weight
int_bag Bag
Definition int-bag.hpp:70
const int EQ
Definition style.hpp:40

References do_truncation, EQ, insert(), kb_exp, kb_exp_multidegree, kb_exp_weight, kb_monideal, kb_target_lo_weight, kb_target_multidegree, ExponentVector< int, true >::lex_compare(), and mHeftVector.

Referenced by basis0_multi_graded().