Macaulay2 Engine
Loading...
Searching...
No Matches
MonomialTypes.hpp
Go to the documentation of this file.
1#pragma once
2
31
32#include <cstdint>
33
34namespace newf4 {
35
36// Index of a GB element
37using Index = int32_t;
38
39// Index of a monomial in a monomial hash table.
40// 0 is a sentinel, meaning that something that usually would
41// point to a monomial is currently undefined. Valid values are > 0.
42using MonomialIndex = int32_t;
43
44// Data type of the underlying monomial store.
45// A monomial is a sequence of MonomialInts
46// Also used to store degree of a monomial.
47using MonomialInt = int32_t;
48
49// Number indicating the free module component
50using ComponentIndex = int32_t;
51
52// Value of hashing a monomial (which may or may not include the component)
53using HashInt = uint64_t;
54
55// Used for divisibility masks in MonomialLookupTable
56using MonomialMask = uint64_t;
57
58}// end namespace f4
59
60
61// Local Variables:
62// indent-tabs-mode: nil
63// End:
uint64_t HashInt
int32_t Index
int32_t ComponentIndex
int32_t MonomialIndex
int32_t MonomialInt
uint64_t MonomialMask