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

◆ random()

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

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

249 {
250 fmpz_randm(&result, mRandomState, mMaxHeight);
251 }
flint_rand_t mRandomState
VALGRIND_MAKE_MEM_DEFINED & result(result)

References mMaxHeight, mRandomState, and result().