Gröbner basis project
Codebase for research into Gröbner basis computation
|
data for the weighted grevlex monomial ordering More...
#include <particular_orderings.hpp>
Public Member Functions | |
Construction | |
WGrevlex_Order_Data (const Monomial &t) | |
creates an array of partial weights of t More... | |
WGrevlex_Order_Data (const WGrevlex_Order_Data &) | |
copy constructor | |
WGrevlex_Order_Data * | clone () |
clone constructor | |
Destruction | |
~WGrevlex_Order_Data () | |
deletes the array of partial weights | |
returns the weighted sum of the first \f$i\f$ variables | |
DEG_TYPE | operator[] (NVAR_TYPE i) const |
virtual DEG_TYPE | grading (NVAR_TYPE i) const |
default value is useless; orderings that supply gradings should redefine | |
Computation | |
void | assign_gradings (const Monomial &t) |
assigns gradings to a pre-allocated array More... | |
Memory management | |
void * | operator new (size_t) |
requests memory form WGrevlex_Ordering's Grading_Order_Data_Allocator | |
void | operator delete (void *) |
returns data to WGrevlex_Ordering's Grading_Order_Data_Allocator | |
![]() | |
virtual | ~Monomial_Order_Data () |
does nothing but guarantee polymorphism (stupid, stupid C++) | |
Protected Attributes | |
DEG_TYPE * | gradings |
array of partial weighted sums of exponents | |
const NVAR_TYPE | number_of_gradings |
length of gradings | |
data for the weighted grevlex monomial ordering
The data involves an array of \(n\) DEG_TYPE
, where the first entry is a weighted sum of the first \(n\) variables, the second entry is the ordinary sum of all but the last variable, etc.
Definition at line 318 of file particular_orderings.hpp.
WGrevlex_Order_Data::WGrevlex_Order_Data | ( | const Monomial & | t | ) |
creates an array of partial weights of t
t
first! Definition at line 372 of file particular_orderings.cpp.
void WGrevlex_Order_Data::assign_gradings | ( | const Monomial & | t | ) |
assigns gradings to a pre-allocated array
Definition at line 361 of file particular_orderings.cpp.