 |
My Project
UNKNOWN_GIT_VERSION
|
Go to the documentation of this file.
12 #ifndef DEGREE_PATTERN_H
13 #define DEGREE_PATTERN_H
164 if ((*
this)[
i] ==
x)
return i + 1;
int * m_pattern
some array containing the degree pattern
DegreePattern & operator=(const DegreePattern °Pat)
assignment
Pattern(int n)
construct a Pattern from an int
DegreePattern provides a functionality to create, intersect and refine degree patterns.
void init(int n)
initialise a DegreePattern
some useful template functions.
int m_refCounter
reference counter
#define ASSERT(expression, message)
Pattern()
default constructor
struct DegreePattern::Pattern * m_data
Iterators for CanonicalForm's.
void intersect(const DegreePattern °Pat)
intersect two degree patterns
void release()
clear m_data
Operations in GF, where GF is a finite field of size less than 2^16 represented by a root of Conway p...
int * getPattern() const
getter
DegreePattern()
default constructor
int operator[](const int index) const
operator []
int getLength() const
getter
~DegreePattern()
destructor
int m_length
length of m_pattern
DegreePattern(const DegreePattern °Pat)
copy constructor
int find(const int x) const
find an element x
static int index(p_Length length, p_Ord ord)
void refine()
Refine a degree pattern. Assumes that (*this)[0]:= d is the degree of the poly to be factored....