RandomState.tomaxint()
numpy.random.RandomState.tomaxint
-
RandomState.tomaxint(size=None)
-
Random integers between 0 and
sys.maxint
, inclusive.Return a sample of uniformly distributed random integers in the interval [0,
sys.maxint
].Parameters: size : int or tuple of ints, optional
Output shape. If the given shape is, e.g.,
(m, n, k)
, thenm * n * k
samples are drawn. Default is None, in which case a single value is returned.Returns: out : ndarray<