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

◆ random()

void M2::ARingZZGMP::random ( ElementType & result) const
inline

Definition at line 243 of file aring-zz-gmp.hpp.

244 {
245 rawSetRandomInteger(&result, nullptr);
246 }
VALGRIND_MAKE_MEM_DEFINED & result(result)
void rawSetRandomInteger(mpz_ptr result, gmp_ZZ maxN)
Definition random.cpp:56

References rawSetRandomInteger(), and result().