tomaxint(self, size=None, chunks='auto', **kwargs)
This docstring was copied from numpy.random.mtrand.RandomState.tomaxint.
Some inconsistencies with the Dask version may exist.
Output shape. If the given shape is, e.g., (m, n, k)
, then m * n * k
samples are drawn. Default is None, in which case a single value is returned.
Drawn samples, with shape :None:None:`size`
.
Return a sample of uniformly distributed random integers in the interval [0, np.iinfo(np.int_).max
]. The :None:None:`np.int_`
type translates to the C long integer type and its precision is platform dependent.
randint
Uniform sampling over a given half-open interval of integers.
random_integers
Uniform sampling over a given closed interval of integers.
>>> rs = np.random.RandomState() # need a RandomState object # doctest: +SKIPThis example is valid syntax, but we were not able to check execution
... rs.tomaxint((2,2,2)) # doctest: +SKIP array([[[1170048599, 1600360186], # random [ 739731006, 1947757578]], [[1871712945, 752307660], [1601631370, 1479324245]]])
>>> rs.tomaxint((2,2,2)) < np.iinfo(np.int_).max # doctest: +SKIP array([[[ True, True], [ True, True]], [[ True, True], [ True, True]]])See :
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them