PolyFromPolyEntry.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_PolyFromPolyEntry_h_
#define polybori_groebner_PolyFromPolyEntry_h_
// include basic definitions
#include "groebner_defs.h"
#include "PolyEntry.h"
#include <functional>
BEGIN_NAMESPACE_PBORIGB
class PolyFromPolyEntry:
public std::unary_function<PolyEntry, Polynomial> {
public:
const Polynomial& operator()(const PolyEntry& entry) const {
return entry.p;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_PolyFromPolyEntry_h_ */