Definition at line 536 of file ring.cpp.
538{
539 try
540 {
542 if (R == nullptr)
543 {
544 ERROR(
"expected a tower coefficient ring");
545 return nullptr;
546 }
548 for (int i = 0; i < eqns->len; i++)
549 {
552 {
553 ERROR(
"extension element has incorrect base ring");
554 return nullptr;
555 }
557 }
560 {
562 return nullptr;
563 }
564}
virtual const Tower * cast_to_Tower() const
ring_elem get_value() const
const Ring * get_ring() const
Front-end-visible "ring element" value: an engine ring_elem paired with the Ring* that gives it meani...
static Tower * create(int charac, M2_ArrayString names)
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(), Tower::create(), ERROR, RingElement::get_ring(), RingElement::get_value(), and VECTOR.