This is documentation for an old release of NumPy (version 1.4.). Read this page in the documentation of the latest stable release (version > 1.17).
Uniformly sample discrete random integers x such that 0 <= x <= sys.maxint.
Parameters: | size : tuple of ints, int, optional
|
---|---|
Returns: | out : ndarray
|
See also