PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
groebner
include
polybori
groebner
MonomialTerms.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
14
//*****************************************************************************
15
16
#ifndef polybori_groebner_MonomialTerms_h_
17
#define polybori_groebner_MonomialTerms_h_
18
19
#include "
TermsFacade.h
"
20
21
// include basic definitions
22
#include "
groebner_defs.h
"
23
24
BEGIN_NAMESPACE_PBORIGB
25
31
class
MonomialTerms
:
32
public
TermsFacade
<MonomialTerms> {
33
34
public
:
35
template
<
class
Type>
36
MonomialTerms
(
const
Type& rhs):
TermsFacade
<
MonomialTerms
>(rhs) {}
37
38
bool
isCompatible
(
const
PolyEntry
& entry)
const
{
39
PBORI_ASSERT
( (entry.
length
!= 1) || (entry.
p
== entry.
lead
) );
40
return
(entry.
length
== 1);
41
}
42
};
43
44
END_NAMESPACE_PBORIGB
45
46
#endif
/* polybori_groebner_MonomialTerms_h_ */
Generated by
1.8.3.1