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

◆ to_ring_elem()

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

Definition at line 197 of file aring-gf-flint.hpp.

198 {
199 // we only use this data type for GF's smaller than 32 bits, since
200 // this class creates lookup tables that are way too big otherwise.
201 result = ring_elem(static_cast<int>(a.value));
202 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().