randomgen.efiix64.EFIIX64.random_raw

EFIIX64.random_raw(size=None, output=True)

Return randoms as generated by the underlying BitGenerator

Parameters:
size=None

Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned.

output=True

Output values. Used for performance testing since the generated values are not returned.

Returns:

out – Drawn samples.

Return type:

{uint64, ndarray, None}

Notes

This method directly exposes the the raw underlying pseudo-random number generator. All values are returned as unsigned 64-bit values irrespective of the number of bits produced by the PRNG.

See the class docstring for the number of bits returned.