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
- outtuple(ndarray, int, float)
- The returned tuple has the following items: - an ndarray containing seeds to be required for generating random numbers. 
- an integer - has_gauss.
- a float - cached_gaussian.
 
 
 - See also - RandomState.set_state
- Sets the internal state of the generator. 
 - Note - RandomState.set_state()and- RandomState.get_state()are not needed to work with any of the random distributions in NLCPy.