@@ -8,7 +8,7 @@ generators in Python and Numpy.
88
99Features
1010
11- - Immediate drop in replacement for Numy 's RandomState
11+ - Immediate drop in replacement for NumPy 's RandomState
1212
1313.. code :: python
1414
@@ -22,7 +22,7 @@ Features
2222 same seed, same random numbers).
2323- Support for random number generators that support independent streams
2424 and jumping ahead so that substreams can be generated
25- - Faster ranomd number generations, especially for Normals using the
25+ - Faster random number generations, especially for Normals using the
2626 Ziggurat method
2727
2828.. code :: python
@@ -46,18 +46,19 @@ in addition to the MT19937 that is included in NumPy. The RNGs include:
4646- `PCG32 <http://www.pcg-random.org/ >`__ and
4747 `PCG64 <http:w//www.pcg-random.org/ >`__
4848- `MRG32K3A <http://simul.iro.umontreal.ca/rng >`__
49- - A multiplicative lagged fibonacci generator (LFG(31 , 1279, 861, \* ))
49+ - A multiplicative lagged fibonacci generator (LFG(63 , 1279, 861, \* ))
5050
5151Differences from ``numpy.random.RandomState ``
5252---------------------------------------------
5353
5454New Features
5555~~~~~~~~~~~~
5656
57- - ``stanard_normal ``, ``normal ``, ``randn `` and ``multivariate_normal ``
58- all support an additional ``method `` keyword argument which can be
59- ``inv `` or ``zig `` where ``inv `` corresponds to the current method
60- and ``zig `` uses tha much faster (100%+) ziggurat method.
57+ - ``standard_normal ``, ``normal ``, ``randn `` and
58+ ``multivariate_normal `` all support an additional ``method `` keyword
59+ argument which can be ``bm `` or ``zig `` where ``bm `` corresponds to
60+ the current method and ``zig `` uses the much faster (100%+) ziggurat
61+ method.
6162
6263New Functions
6364~~~~~~~~~~~~~
@@ -88,13 +89,13 @@ Status
8889Version
8990-------
9091
91- The version matched the latest verion of NumPy where
92+ The version matched the latest version of NumPy where
9293``randomstate.prng.mt19937 `` passes all NumPy test.
9394
9495Documentation
9596-------------
9697
97- A occasionally updated build of the documentation is available on `my
98+ An occasionally updated build of the documentation is available on `my
9899github pages <http://bashtage.github.io/ng-numpy-randomstate/> `__.
99100
100101Plans
@@ -103,7 +104,7 @@ Plans
103104This module is essentially complete. There are a few rough edges that
104105need to be smoothed.
105106
106- - Stream support for MLFG and MRG32K3A
107+ - Stream support for MLFG
107108- Creation of additional streams from a RandomState where supported
108109 (i.e. a ``next_stream() `` method)
109110
@@ -151,7 +152,7 @@ Windows
151152Either use a binary installer or if building from scratch using Python
1521533.5 and the free Visual Studio 2015 Community Edition. It can also be
153154build using Microsoft Visual C++ Compiler for Python 2.7 and Python 2.7,
154- although some modifications are needed to distutils to find the
155+ although some modifications are needed to `` distutils `` to find the
155156compiler.
156157
157158Using
@@ -196,27 +197,27 @@ NumPy's mt19937.
196197
197198::
198199
199- Speed-up relative to NumPy (Slow Normals )
200+ Speed-up relative to NumPy (Box-Muller )
200201 ************************************************************
201- randomstate.prng-dsfmt-standard_normal 107.2 %
202- randomstate.prng-mlfg_1279_861-standard_normal 51.2 %
203- randomstate.prng-mrg32k3a-standard_normal -11.8 %
204- randomstate.prng-mt19937-standard_normal 44.0 %
205- randomstate.prng-pcg32-standard_normal 51.2 %
206- randomstate.prng-pcg64-standard_normal 51.1 %
207- randomstate.prng-xorshift1024-standard_normal 50.5 %
208- randomstate.prng-xorshift128-standard_normal 52.1 %
209-
210- Speed-up relative to NumPy (Ziggural Normals )
202+ randomstate.prng-dsfmt-standard_normal 70.5 %
203+ randomstate.prng-mlfg_1279_861-standard_normal 26.9 %
204+ randomstate.prng-mrg32k3a-standard_normal -18.7 %
205+ randomstate.prng-mt19937-standard_normal 13.5 %
206+ randomstate.prng-pcg32-standard_normal 26.1 %
207+ randomstate.prng-pcg64-standard_normal 26.2 %
208+ randomstate.prng-xorshift1024-standard_normal 27.2 %
209+ randomstate.prng-xorshift128-standard_normal 30.0 %
210+
211+ Speed-up relative to NumPy (Ziggurat )
211212 ************************************************************
212- randomstate.prng-dsfmt-standard_normal 283.7 %
213- randomstate.prng-mlfg_1279_861-standard_normal 217.4 %
214- randomstate.prng-mrg32k3a-standard_normal 16.6 %
215- randomstate.prng-mt19937-standard_normal 201.3 %
216- randomstate.prng-pcg32-standard_normal 274 .9%
217- randomstate.prng-pcg64-standard_normal 310.8 %
218- randomstate.prng-xorshift1024-standard_normal 336.3 %
219- randomstate.prng-xorshift128-standard_normal 425.1 %
213+ randomstate.prng-dsfmt-standard_normal 316.1 %
214+ randomstate.prng-mlfg_1279_861-standard_normal 247.0 %
215+ randomstate.prng-mrg32k3a-standard_normal 51.2 %
216+ randomstate.prng-mt19937-standard_normal 175.9 %
217+ randomstate.prng-pcg32-standard_normal 255 .9%
218+ randomstate.prng-pcg64-standard_normal 329.1 %
219+ randomstate.prng-xorshift1024-standard_normal 362.0 %
220+ randomstate.prng-xorshift128-standard_normal 513.7 %
220221
221222.. |Travis Build Status | image :: https://travis-ci.org/bashtage/ng-numpy-randomstate.svg?branch=master
222223 :target: https://travis-ci.org/bashtage/ng-numpy-randomstate
0 commit comments