Definition at line 43 of file qring.cpp.
46
47
48
49
50
51
52
53
54
55
56
57{
60 gc_vector<int> vp;
62 for (int i = 0; i < quotients.size(); i++)
63 {
64
65
66
67 Nterm *f = quotients[i];
68 R->getMonoid()->to_expvector(f->
monom, exp);
69
71
72 if (!
Rideal->search_expvector(exp, not_used))
73 {
74
76 gbvector *g =
R->translate_gbvector_from_ringelem(f);
78 R->getMonoid()->to_varpower(f->
monom, vp);
79 Bag *b =
new Bag(index, vp);
83 }
84 }
86}
exponents::Exponents exponents_t
static MonomialTable * make(int nvars)
MonomialTable * ringtable
void appendQuotientElement(Nterm *f, gbvector *g)
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
#define newarray_atomic(T, len)
References QRingInfo::appendQuotientElement(), freemem(), MonomialTable::make(), Nterm::monom, QRingInfo::n_quotients(), newarray_atomic, QRingInfo::QRingInfo(), QRingInfo::R, Rideal, and ringtable.
Referenced by QRingInfo_field_basic::QRingInfo_field_basic(), and QRingInfo_field_QQ::QRingInfo_field_QQ().