PolyBoRi
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 
23 
28 class VariablePairData: public PairData{
29 public:
30  int i;
32  Polynomial extract(const PolyEntryVector& gen) const {
33  return Monomial(Variable(v, gen[i].p.ring()))*gen[i].p;
34  }
36  this->v=v;
37  this->i=i;
38  }
39 };
40 
42 
43 #endif /* polybori_VariablePairData_h_ */