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

◆ mo_block_wt_function()

void mo_block_wt_function ( struct mo_block * b,
int nvars,
deg_t * wts )
static

Definition at line 160 of file imonorder.cpp.

161{
162 b->typ = MO_WEIGHTS;
163 b->nvars = 0;
164 b->nslots = 1;
165 b->first_exp = 0;
166 b->first_slot = 0; /* will be set later */
167 b->nweights = nvars;
168 b->weights = wts;
169}
@ MO_WEIGHTS
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_WEIGHTS, mo_block::nslots, mo_block::nvars, mo_block::nweights, mo_block::typ, and mo_block::weights.

Referenced by monomialOrderMake().