Definition at line 1060 of file ringelement.cpp.
1063{
1065 if (R == nullptr)
1066 {
1067 ERROR(
"not implemented for this ring");
1068 return nullptr;
1069 }
1071 {
1072 ERROR(
"expected elements in the same ring");
1073 return nullptr;
1074 }
1077}
virtual const Tower * cast_to_Tower() const
ring_elem get_value() const
static RingElement * make_raw(const Ring *R, ring_elem f)
const Ring * get_ring() const
ring_elem power_mod(const ring_elem f, mpz_srcptr n, const ring_elem g) const
Ring subclass for tower polynomial rings (Z/p)[x_0][x_1]...[x_{n-1}] modulo a chain of algebraic exte...
References Ring::cast_to_Tower(), ERROR, RingElement::get_ring(), RingElement::get_value(), RingElement::make_raw(), and Tower::power_mod().