|
Macaulay2 Engine
|
Per-component tie-breaker data for a Schreyer monomial order on a FreeModule. More...
#include <schorder.hpp>
Public Member Functions | |
| void | remove () |
| int | rank () const |
| int | compare_num (int i) const |
| const_monomial | base_monom (int i) const |
| const Monoid * | getMonoid () const |
| bool | is_equal (const SchreyerOrder *G) const |
| SchreyerOrder * | copy () const |
| SchreyerOrder * | sub_space (int n) const |
| SchreyerOrder * | sub_space (M2_arrayint a) const |
| void | append_order (const SchreyerOrder *G) |
| SchreyerOrder * | direct_sum (const SchreyerOrder *G) const |
| SchreyerOrder * | tensor (const SchreyerOrder *G) const |
| SchreyerOrder * | exterior (int p) const |
| SchreyerOrder * | symm (int n) const |
| void | append (int compare_num, const_monomial base_monom) |
| void | schreyer_up (const_monomial m, int comp, monomial result) const |
| void | schreyer_down (const_monomial m, int comp, monomial result) const |
| int | schreyer_compare (const_monomial m, int m_comp, const_monomial n, int n_comp) const |
| int | schreyer_compare_encoded (const_monomial m, int m_comp, const_monomial n, int n_comp) const |
| void | text_out (buffer &o) const |
Static Public Member Functions | |
| static SchreyerOrder * | create (const Monoid *m) |
| static SchreyerOrder * | create (const Matrix *m) |
| static SchreyerOrder * | create (const GBMatrix *m) |
| Static Public Member Functions inherited from our_new_delete | |
| static void * | operator new (size_t size) |
| static void * | operator new[] (size_t size) |
| static void | operator delete (void *obj) |
| static void | operator delete[] (void *obj) |
| static void * | operator new (size_t size, void *existing_memory) |
| static void * | operator new[] (size_t size, void *existing_memory) |
| static void | operator delete (void *obj, void *existing_memory) |
| static void | operator delete[] (void *obj, void *existing_memory) |
Private Member Functions | |
| SchreyerOrder (const Monoid *m) | |
| ~SchreyerOrder () | |
Private Attributes | |
| const Monoid * | M |
| gc_vector< int > | _order |
| int | _nslots |
| int | _rank |
Per-component tie-breaker data for a Schreyer monomial order on a FreeModule.
For each of the _rank components, stores a compare_num plus the component's base monomial as a flat [compare_num, encoded_monom] slice of width _nslots inside _order. When two FreeModule entries with different components are compared, their monomials get pre-multiplied by their respective base_monoms and then ranked by compare_num — the standard Schreyer recipe that keeps the resolution's GB machinery consistent across levels.
Definition at line 67 of file schorder.hpp.