PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
groebner
include
polybori
groebner
VariablePairData.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
14
//*****************************************************************************
15
16
#ifndef polybori_groebner_VariablePairData_h_
17
#define polybori_groebner_VariablePairData_h_
18
19
// include basic definitions
20
#include "
groebner_defs.h
"
21
22
BEGIN_NAMESPACE_PBORIGB
23
28
class
VariablePairData
:
public
PairData
{
29
public
:
30
int
i
;
31
idx_type
v
;
32
Polynomial
extract
(
const
PolyEntryVector
& gen)
const
{
33
return
Monomial
(
Variable
(v, gen[i].p.ring()))*gen[i].p;
34
}
35
VariablePairData
(
int
i,
idx_type
v){
36
this->v=v;
37
this->i=i;
38
}
39
};
40
41
END_NAMESPACE_PBORIGB
42
43
#endif
/* polybori_VariablePairData_h_ */
Generated by
1.8.3.1