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

Tool for Polynomial_Linked_List. More...

#include <polynomial_linked_list.hpp>

Public Member Functions

Construction
 Monomial_Node (const Prime_Field_Element &a, const Monomial &u)
 Monomial u with coefficient a. Both are copied, and can be deleted.
 
 Monomial_Node (Prime_Field &F, const Monomial &u)
 Monomial u (copied) with coefficient 1.
 
Basic properties
Monomialmonomial ()
 This term’s monomial, or power product. The coefficient is not included.
 
Prime_Field_Elementcoefficient ()
 This term’s coefficient.
 
Memory management
void * operator new (size_t)
 requests memory form Monomial_Node's Grading_Order_Data_Allocator
 
void operator delete (void *)
 returns data to Monomial_Node's Grading_Order_Data_Allocator
 

Protected Attributes

Prime_Field_Element c
 the monomial’s coefficient
 
Monomial_Nodenext
 for linking
 
Monomial_Nodeprev
 for linking
 
Monomial t
 the monomial in this node
 

Friends

Iteration
class LLPolynomial_Iterator
 
class Polynomial_Linked_List
 

Detailed Description

Tool for Polynomial_Linked_List.

Author
John Perry
Date
2015

Each node in a linked list polynomial contains both the coefficient and the monomial.

Definition at line 25 of file polynomial_linked_list.hpp.


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