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

◆ set_from_mpz()

void M2::ARingZZ::set_from_mpz ( ElementType & result,
mpz_srcptr a ) const
inline

Definition at line 132 of file aring-zz-flint.hpp.

133 {
134 // printf("ARingZZ::calling set_from_mpz\n");
135 fmpz_set_mpz(&result, a);
136 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

Referenced by getElement< M2::ARingZZ >(), and set_from_mpq().