3#ifndef _aring_wrap_hpp_
4#define _aring_wrap_hpp_
41template <
class RingType>
67template <
class RingType>
86 R_.init_set(RELEM(RingType, a), val);
91 R_.add_to(RELEM(RingType, a), constRELEM(RingType, b));
Shared base of the aring framework (namespace M2) that unifies the engine's coefficient rings.
RingType::ElementType element_type
RElementWrap< RingType > ringelem_type
RingType & getInternalRing()
virtual void add_to(RElement &a, const RElement &b) const
friend bool ARing::converter(const ARing *sourceR, const ARing *targetR, const RElement &a, RElement &b)
AConcreteRing(RingType R)
virtual RingID getRingID() const
virtual void init_set(RElement &a, long val) const
const RingType & getInternalRing() const
friend bool ARing::converter(const ARing *sourceR, const ARing *targetR, const RElement &a, RElement &b)
RElementWrap(const element_type &a)
RingType::ElementType element_type