bundles / numpy 2.4.3 / numpy / random / __RandomState_ctor
function
numpy.random:__RandomState_ctor
source: /numpy/random/__init__.py :194
Signature
def __RandomState_ctor ( ) Summary
Return a RandomState instance.
Extended Summary
This function exists solely to assist (un)pickling.
Note that the state of the RandomState returned here is irrelevant, as this function's entire purpose is to return a newly allocated RandomState whose state pickle can set. Consequently the RandomState returned by this function is a freshly allocated copy with a seed=0.
See https://github.com/numpy/numpy/issues/4763 for a detailed discussion
Aliases
-
numpy.random.__RandomState_ctor