NumPy

This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).

numpy.random.BitGenerator.state

attribute

BitGenerator.state

Get or set the PRNG state

The base BitGenerator.state must be overridden by a subclass

Returns
statedict

Dictionary containing the information required to describe the state of the PRNG