77{
78 std::vector<std::string> vars = {"a", "b"};
81
84
86 o << "a=";
88 o << " b=";
92 o << " c=";
95 o << " d=";
98
100}
virtual ring_elem power(const ring_elem f, mpz_srcptr n) const
Exponentiation. This is the default function, if a class doesn't define this.
virtual ring_elem from_long(long n) const
static Tower * create(int charac, M2_ArrayString names)
virtual ring_elem var(int v) const
virtual ring_elem add(const ring_elem f, const ring_elem g) const
virtual void elem_text_out(buffer &o, const ring_elem f, bool p_one=true, bool p_plus=false, bool p_parens=false) const
Ring subclass for tower polynomial rings (Z/p)[x_0][x_1]...[x_{n-1}] modulo a chain of algebraic exte...
M2_ArrayString stdvector_to_M2_ArrayString(const std::vector< std::string > &strs)