Macaulay2 Engine
Loading...
Searching...
No Matches
◆
random()
ring_elem
Z_mod::random
(
)
const
virtual
Reimplemented from
Ring
.
Definition at line
311
of file
ZZp.cpp
.
312
{
313
int
exp
=
rawRandomInt
((int32_t)
P
);
314
return
ring_elem(exp);
315
}
Z_mod::P
int P
Definition
ZZp.hpp:65
mpfr::exp
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Definition
mpreal.h:2298
rawRandomInt
int32_t rawRandomInt(int32_t max)
Definition
random.cpp:44
References
P
, and
rawRandomInt()
.
Z_mod
Generated on
for Macaulay2 Engine by
1.15.0