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

◆ random()

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

Definition at line 247 of file aring-qq-flint.hpp.

248 {
249 fmpq_randtest(&result, mRandomState, mMaxHeight);
250 }
flint_rand_t mRandomState
VALGRIND_MAKE_MEM_DEFINED & result(result)

References mMaxHeight, mRandomState, and result().

Referenced by getElement< M2::ARingQQFlint >().