Definition at line 1025 of file ringelement.cpp.
1027{
1029 if (R == nullptr) return 0;
1030 if (firstvar < 0)
1031 {
1032 ERROR(
"use rawCharacteristic to find the characteristic");
1033 return -1;
1034 }
1036}
virtual const Tower * cast_to_Tower() const
int extension_degree(int nvars) 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, and Tower::extension_degree().