Macaulay2 Engine
Loading...
Searching...
No Matches

◆ power() [1/2]

ring_elem M2FreeAlgebraQuotient::power ( const ring_elem f,
int n ) const
virtual

Reimplemented from Ring.

Definition at line 242 of file M2FreeAlgebraQuotient.cpp.

243{
244 auto f = reinterpret_cast<const Poly*>(f1.get_Poly());
245 auto result = new Poly;
247 return ring_elem(reinterpret_cast<void *>(result));
248}
Polynomial< CoefficientRingType > Poly
void power(Poly &result, const Poly &f, int n) const
const FreeAlgebraQuotient & freeAlgebraQuotient() const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References freeAlgebraQuotient(), ring_elem::get_Poly(), FreeAlgebraQuotient::power(), and result().