Macaulay2 Engine
Loading...
Searching...
No Matches
res-monomial-types.hpp
Go to the documentation of this file.
1// Copyright 2016 Michael E. Stillman
2
3#ifndef _res_monomial_types_hpp_
4#define _res_monomial_types_hpp_
5
37
38#include <cstdint>
39
40#include "ExponentList.hpp"
41#include "ExponentVector.hpp"
42
44
45typedef int32_t myword;
47
48// Legacy specialization for ExponentVector
50
54
55// Legacy specialization for ExponentList
58
62
63
67
68// The following is possibly out of date information
69// format: [hash,component,e1,...,envars],
70// where [e1,...,envars] is packed.
71// OR: [hash,component,weight,e1,...,envars]
72// and weight is NOT packed.
73// packing info, hash values, weights are all
74// defined in: PackedMonomials
75// with weight vector values:
76// [hashvalue comp w1 w2 ... wr e1 e2 ... en]
77// or is it:
78// [hashvalue comp e1 e2 ... en -wr ... -w1]
79
80#endif
81
82// Local Variables:
83// compile-command: "make -C $M2BUILDDIR/Macaulay2/e "
84// indent-tabs-mode: nil
85// End:
Variable-length sparse (variable, exponent) encoding of monomials.
Dense exponent-vector template [e_0, ..., e_{nvars-1}] for monomial operations.
ExponentList< myword, false > res_varpower_monomials
myword component_index
ExponentListIterator< myword, false > index_res_varpower_monomial
const res_varpower_word * res_const_varpower_monomial
res_varpower_word * res_varpower_monomial
res_ntuple_word * res_ntuple_monomial
res_ntuple_monomials::Exponent res_ntuple_word
const res_monomial_word * res_const_packed_monomial
myword res_monomial_word
MonomialOrderingType
ExponentVector< myword, false > res_ntuple_monomials
int32_t myword
res_varpower_monomials::Exponent res_varpower_word
res_monomial_word * res_packed_monomial
const res_ntuple_word * res_const_ntuple_monomial