OPENF4
Library for Gröebner basis computations over finite fields.
 All Classes Namespaces Files Functions Variables Friends Pages
Public Member Functions | Public Attributes | List of all members
F4::NodeList< Element > Struct Template Reference

Represent a node of the single chained list. More...

#include <single-list.h>

Public Member Functions

 NodeList ()
 Constructor.
 
 NodeList (Element coefficient, int numMonomial)
 Constructor.
 
 NodeList (Term< Element > const &term)
 Constructor.
 
Term< Element > const & getTerm () const
 Get the term of the node. More...
 
int getNumMonomial () const
 Get the number of the monomial of the term. More...
 
Element getCoefficient () const
 Get the coefficient of the term. More...
 
void setCoefficient (Element element)
 Set the coefficient of the term. More...
 
void setCoefficientOne ()
 Set the coefficient of the term to one.
 
void setNumMonomial (int numMonomial)
 Set the number of the monomial of the term. More...
 

Public Attributes

Term< Element > _term
 
NodeList_next
 

Detailed Description

template<typename Element>
struct F4::NodeList< Element >

Represent a node of the single chained list.

Definition at line 47 of file single-list.h.

Member Function Documentation

template<typename Element>
Element F4::NodeList< Element >::getCoefficient ( ) const

Get the coefficient of the term.

Returns
Coefficient of the term.
template<typename Element>
int F4::NodeList< Element >::getNumMonomial ( ) const

Get the number of the monomial of the term.

Returns
Number of the monomial of the term.
template<typename Element>
Term<Element> const& F4::NodeList< Element >::getTerm ( ) const

Get the term of the node.

Returns
Term of the node.
template<typename Element>
void F4::NodeList< Element >::setCoefficient ( Element  element)

Set the coefficient of the term.

Parameters
elementCoefficient.
template<typename Element>
void F4::NodeList< Element >::setNumMonomial ( int  numMonomial)

Set the number of the monomial of the term.

Parameters
numMonomialNumber of the monomial of the term.

Member Data Documentation

template<typename Element>
NodeList* F4::NodeList< Element >::_next

Pointer on a NodeList.

Definition at line 109 of file single-list.h.

template<typename Element>
Term<Element> F4::NodeList< Element >::_term

Term.

Definition at line 108 of file single-list.h.


The documentation for this struct was generated from the following file: