Macaulay2 Engine
Loading...
Searching...
No Matches
WordWithData Class Reference

Word plus its ecart degree and heft degree — the value type WordWithDataTable stores. More...

#include <Word.hpp>

Public Member Functions

 WordWithData ()
 WordWithData (const int *begin, const int *end, int ecartDegree, int heftDegree)
void init (const int *begin, const int *end, int ecartDegree, int heftDegree)
const intbegin () const
const intend () const
Word word () const
int ecartDegree () const
int heftDegree () const
size_t size () const
bool operator== (WordWithData rhs)

Private Attributes

Word mWord
int mEcartDegree
int mHeftDegree

Detailed Description

Word plus its ecart degree and heft degree — the value type WordWithDataTable stores.

Note
AI-generated documentation. Verify against the source before relying on it.

mEcartDegree records the power of an invisible homogenising variable so divisibility checks in WordWithDataTable::subword can refuse matches whose ecart is wrong; mHeftDegree is the original heft degree the word entered with, kept for stable sorting. The underlying word is held by composition (mWord) rather than inheritance.

Definition at line 115 of file Word.hpp.


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