nlcpy.random.RandomState.get_state¶
-
RandomState.
get_state
(self, legacy=True)¶ Returns an ndarray representing the internal state of the generator.
For more details, see set_state.
- Parameters
- legacybool
Not used in NLCPy.
- Returns
- outndarray
An ndarray containing seeds to be required for generating random numbers.
参考
RandomState.set_state
Sets the internal state of the generator from an ndarray.
注釈
RandomState.set_state()
andRandomState.get_state()
are not needed to work with any of the random distributions in NLCPy.