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

◆ random()

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

Definition at line 348 of file aring-zzp.hpp.

348{ result = rawRandomInt((int32_t)p); }
VALGRIND_MAKE_MEM_DEFINED & result(result)
int32_t rawRandomInt(int32_t max)
Definition random.cpp:44

References p, rawRandomInt(), and result().