 |
My Project
debian-1:4.1.1-p2+ds-4
|
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
void init(int n)
initialise a DegreePattern
int m_refCounter
reference counter
#define ASSERT(expression, message)
Pattern()
default constructor
void intersect(const DegreePattern °Pat)
intersect two degree patterns
void release()
clear m_data
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....
struct DegreePattern::Pattern * m_data