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

◆ mo_block_grevlex4_wts()

void mo_block_grevlex4_wts ( struct mo_block * b,
int nvars )
static

Definition at line 94 of file imonorder.cpp.

95{
97 b->nvars = nvars;
98 b->nslots = (nvars + 3) / 4; /* 4 per word */
99 b->first_exp = 0; /* will be set later */
100 b->first_slot = 0; /* will be set later */
101 b->nweights = nvars;
102 b->weights = nullptr; /* will be set later */
103}
@ MO_GREVLEX4_WTS
enum MonomialOrdering_type typ
Definition imonorder.hpp:49
int first_exp
Definition imonorder.hpp:52
int first_slot
Definition imonorder.hpp:53
deg_t * weights
Definition imonorder.hpp:55
int nweights
Definition imonorder.hpp:54

References mo_block::first_exp, mo_block::first_slot, MO_GREVLEX4_WTS, mo_block::nslots, mo_block::nvars, mo_block::nweights, mo_block::typ, and mo_block::weights.

Referenced by monomialOrderMake().