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

◆ gbvector_term() [1/2]

gbvector * GBRing::gbvector_term ( const FreeModule * F,
ring_elem coeff,
const int * monom,
int comp )

Definition at line 329 of file gbring.cpp.

335{
336 gbvector *v = gbvector_raw_term(coeff, monom, comp);
337
338 const SchreyerOrder *S;
339 if (comp > 0 && _schreyer_encoded && (S = F->get_schreyer_order()) != nullptr)
340 S->schreyer_up(v->monom, comp - 1, v->monom);
341
342 return v;
343}
const SchreyerOrder * get_schreyer_order() const
Definition freemod.hpp:103
bool _schreyer_encoded
Definition gbring.hpp:136
gbvector * gbvector_raw_term(ring_elem coeff, const int *monom, int comp)
Definition gbring.cpp:316
void schreyer_up(const_monomial m, int comp, monomial result) const
Definition schorder.hpp:107
int monom[1]
Definition gbring.hpp:83

References _schreyer_encoded, gbvector_raw_term(), FreeModule::get_schreyer_order(), gbvector::monom, and SchreyerOrder::schreyer_up().