Skip to content

Instantly share code, notes, and snippets.

@MartinThoma
Created May 28, 2018 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinThoma/3a0ad2237b007f6ce216aee752f70dca to your computer and use it in GitHub Desktop.
Save MartinThoma/3a0ad2237b007f6ce216aee752f70dca to your computer and use it in GitHub Desktop.
Difference between mtrand.cpython-36m-x86_64-linux-gnu.so of numpy 1.14.0 vs numpy 1.14.1
_rand_bool(low, high, size, rngstate)
Return random np.bool_ integers between ``low`` and ``high``, inclusive.
Return random integers from the "discrete uniform" distribution in the
closed interval [``low``, ``high``). On entry the arguments are presumed
to have been validated for size and order for the np.bool_ type.
Parameters
----------
low : int
Lowest (signed) integer to be drawn from the distribution.
high : int
Highest (signed) integer to be drawn from the distribution.
size : int or tuple of ints
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.
rngstate : encapsulated pointer to rk_state
The specific type depends on the python version. In Python 2 it is
a PyCObject, in Python 3 a PyCapsule object.
Returns
-------
out : python integer or ndarray of np.bool_
`size`-shaped array of random integers from the appropriate
distribution, or a single such random int if `size` not provided.
GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-55)
GCC: (GNU) 4.8.2 20140120 (Red Hat 4.8.2-15)
GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-55)
#_is
$_ts
#8'f
# 'nd
f?*
j$*
-key
-pos
20pr
2-val
-tmp
20})
20pr
20})
2-val
-tmp
20})
20pr
20})
2-val
-tmp
20})
20pr
20})
2-val
-tmp
20})
20pr
20})
2-val
-tmp
20pr
2-val
-tmp
20pr
2-val
-tmp
20})
20})
20pr
20})
2-val
-tmp
/op1
/op2
2-old
/obj
3bad
20Ll
/obj
3bad
20Ll
/err
20Ll
20Ll
/obj
4.YF
4..F
2-tmp
-tmp
/arr
/arr
/arr
2-tmp
2-tmp
2-tmp
2-tmp
2-tmp
2-tmp
2-tmp
2-tm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