numpy.random.BitGenerator.random_raw¶
method
-
BitGenerator.
random_raw
(self, size=None)¶ Return randoms as generated by the underlying BitGenerator
- Parameters
- Returns
- outuint or
ndarray
Drawn samples.
- outuint or
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.