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

◆ alg1_grab_prime()

void MinimalPrimes::alg1_grab_prime ( int depth)
private

Definition at line 98 of file monideal-minprimes.cpp.

99{
100 Bag *b = new Bag(0);
101 (void) depth;
102 for (int i = 0; i < nvars; i++)
103 if (exp[i + 1] > 0)
104 exp2[i] = 1;
105 else
106 exp2[i] = 0;
108 Q.push_back(b);
109}
static void from_expvector(int n, exponents::ConstExponents a, Vector &result)
gc_vector< int > & monom()
Definition int-bag.hpp:60
int_bag Bag
Definition int-bag.hpp:70

References exp, exp2, ExponentList< int, true >::from_expvector(), int_bag::monom(), and nvars.

Referenced by alg1_min_prime_generator().