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

◆ to_ring_elem()

void M2::ARingTower::to_ring_elem ( ring_elem & result,
const ElementType & a ) const
inline

Definition at line 262 of file aring-tower.hpp.

263 {
264 ElementType b = const_cast<ElementType>(a);
265 result.poly_val = reinterpret_cast<Nterm *>(b);
266 }
ARingPolynomial ElementType
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().