summaryrefslogtreecommitdiff
path: root/doc/source/reference/random/parallel.rst
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-05-23 15:28:22 +0100
committermattip <matti.picus@gmail.com>2019-05-27 22:58:35 +0300
commitdabf42be29208a59bbacffd40d9d8dca6e200f49 (patch)
tree929ddc66702b257a8ffa372939d38bb42c041414 /doc/source/reference/random/parallel.rst
parent7c52c2810e20a9e483e564751b8e2342c97f56c2 (diff)
downloadnumpy-dabf42be29208a59bbacffd40d9d8dca6e200f49.tar.gz
MAINT: Remove remnants of bit generators
Remove traces of the three removed bit generators Add lock to Cython examples
Diffstat (limited to 'doc/source/reference/random/parallel.rst')
-rw-r--r--doc/source/reference/random/parallel.rst8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/source/reference/random/parallel.rst b/doc/source/reference/random/parallel.rst
index 8bdc3f23f..40f0bce63 100644
--- a/doc/source/reference/random/parallel.rst
+++ b/doc/source/reference/random/parallel.rst
@@ -72,10 +72,6 @@ are listed below.
+-----------------+-------------------------+-------------------------+-------------------------+
| ThreeFry | :math:`2^{256}` | :math:`2^{128}` | 64 |
+-----------------+-------------------------+-------------------------+-------------------------+
-| Xoroshiro128 | :math:`2^{128}` | :math:`2^{64}` | 64 |
-+-----------------+-------------------------+-------------------------+-------------------------+
-| Xorshift1024 | :math:`2^{1024}` | :math:`2^{512}` | 64 |
-+-----------------+-------------------------+-------------------------+-------------------------+
| Xoshiro256** | :math:`2^{256}` | :math:`2^{128}` | 64 |
+-----------------+-------------------------+-------------------------+-------------------------+
| Xoshiro512** | :math:`2^{512}` | :math:`2^{256}` | 64 |
@@ -87,13 +83,13 @@ overlap.
.. code-block:: python
from numpy.random.entropy import random_entropy
- from numpy.random import Xorshift1024
+ from numpy.random import Xoshiro256
entropy = random_entropy(2).astype(np.uint64)
# 64-bit number as a seed
seed = entropy[0] * 2**32 + entropy[1]
blocked_rng = []
- rng = Xorshift1024(seed)
+ rng = Xoshiro256(seed)
for i in range(10):
blocked_rng.append(rng.jumped(i))