SciPy

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

numpy.random.mt19937.MT19937.state

attribute

MT19937.state

Get or set the PRNG state

Returns:
state : dict

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

Previous topic

Mersenne Twister (MT19937)

Next topic

numpy.random.mt19937.MT19937.jumped