Exponentiation. This is the default function, if a class doesn't define this.
Reimplemented from Ring.
Definition at line 244 of file M2FreeAlgebra.cpp.
245{
246 auto f =
reinterpret_cast<const Poly*
>(f1.get_Poly());
249 return ring_elem(
reinterpret_cast<void *
>(
result));
250}
Polynomial< CoefficientRingType > Poly
void power(Poly &result, const Poly &f, int n) const
const FreeAlgebra & freeAlgebra() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References freeAlgebra(), ring_elem::get_Poly(), FreeAlgebra::power(), and result().