Gröbner basis project
Codebase for research into Gröbner basis computation
Grevlex_Order_Data Class Reference

data for the grevlex monomial ordering More...

#include <particular_orderings.hpp>

Inheritance diagram for Grevlex_Order_Data:
Monomial_Order_Data

Public Member Functions

Construction
 Grevlex_Order_Data (const Monomial &t)
 
 Grevlex_Order_Data (const Grevlex_Order_Data &)
 copy constructor
 
virtual Grevlex_Order_Dataclone ()
 clone “constructor”
 
Destruction
 ~Grevlex_Order_Data ()
 deletes the array creates by the constructor
 
Basic properties
DEG_TYPE operator[] (NVAR_TYPE i) const
 returns the sum of the first \(i\) variables’ exponents
 
virtual DEG_TYPE grading (NVAR_TYPE i) const
 default value is useless; orderings that supply gradings should redefine
 
Computation
void assign_gradings (const Monomial &)
 assigns gradings to a pre-allocated array More...
 
- Public Member Functions inherited from Monomial_Order_Data
virtual ~Monomial_Order_Data ()
 does nothing but guarantee polymorphism (stupid, stupid C++)
 

Protected Attributes

DEG_TYPE * gradings
 list of partial sums of exponents
 
const NVAR_TYPE number_of_gradings
 length of gradings
 

Detailed Description

data for the grevlex monomial ordering

Author
John Perry
Date
2015

The data involves an array of \(n\) DEG_TYPE, where the first entry is the sum of the first \(n\) variables, the second entry is the sum of all but the last variable, etc.

Definition at line 64 of file particular_orderings.hpp.

Constructor & Destructor Documentation

◆ Grevlex_Order_Data()

Grevlex_Order_Data::Grevlex_Order_Data ( const Monomial t)

creates an array of partial weights of

Definition at line 201 of file particular_orderings.cpp.

Member Function Documentation

◆ assign_gradings()

void Grevlex_Order_Data::assign_gradings ( const Monomial t)

assigns gradings to a pre-allocated array

Warning
This does not create the array if it does not exist already!

Definition at line 193 of file particular_orderings.cpp.


The documentation for this class was generated from the following files: