RandState |
RandState.randinitSet(RandState op) |
Returns a random state which is a copy of op.
|
static MPZ |
MPZ.rrandomb(RandState s,
long n) |
Return an MPZ whose value is a random integer with long strings of
zeros and ones in the binary representation.
|
MPZ |
MPZ.rrandombAssign(RandState s,
long n) |
Set this MPZ to a random integer with long strings of zeros and ones
in the binary representation.
|
static MPF |
MPF.urandomb(RandState s,
long nbits) |
Return an MPF whose value is an uniformly distributed random float in
the range from 0 included to 1 excluded.
|
static MPZ |
MPZ.urandomb(RandState s,
long n) |
Return an MPZ whose value is an uniformly distributed random integer
in the range 0} to (2n - 1), inclusive.
|
MPF |
MPF.urandombAssign(RandState s,
long nbits) |
Set this MPF to a uniformly distributed random float in the range
from 0 included to 1 excluded.
|
MPZ |
MPZ.urandombAssign(RandState s,
long n) |
Set this MPZ to a uniformly distributed random integer in the range
0 to (2n - 1), inclusive.
|
static MPZ |
MPZ.urandomm(RandState s,
MPZ n) |
Return an MPZ whose value is an uniformly distributed random integer
in the range 0 to (n - 1), inclusive.
|
MPZ |
MPZ.urandommAssign(RandState s,
MPZ n) |
Set this MPZ to a uniformly distributed random integer in the range
0 to (n - 1), inclusive.
|