2
2
[ ![ Build Status] ( https://travis-ci.org/bashtage/ng-numpy-randomstate.svg?branch=master )] ( https://travis-ci.org/bashtage/ng-numpy-randomstate )
3
3
4
4
This is a library and generic interface for alternative random generators
5
- in Python and Numpy. This modules includes a number core random number
6
- generators in addition to the MT19937 that is included in NumPy.
5
+ in Python and Numpy. This modules includes a number of alternative random
6
+ number generators in addition to the MT19937 that is included in NumPy.
7
7
The RNGs include:
8
8
9
9
* [ MT19937] ( https://github.com/numpy/numpy/blob/master/numpy/random/mtrand/ ) ,
@@ -30,12 +30,7 @@ identical sequence of random numbers for a given seed.
30
30
* Linux 32/64 bit, Python 2.6, 2.7, 3.3, 3.4, 3.5
31
31
* PC-BSD (FreeBSD) 64-bit, Python 2.7
32
32
* OSX 64-bit, Python 2.7
33
- * Windows 32/64 bit, Python 3.5 ** only** . Support for 2.6/7 and 3.3/4 should come
34
- eventually, although the compilers for these version of Python present some big challenges.
35
- * 32-bit (any OS) and all Windows versions do not support PCG-64 since there
36
- is no support for unsigned 128-bit integers. This will likely be fixed
37
- eventually using a limited implementation of this type where required See
38
- [ Issue 5] ( https://github.com/bashtage/ng-numpy-randomstate/issues/5 ) .
33
+ * Windows 32/64 bit (only tested on Python 2.7 and 3.5, but should work on 3.3/3.4)
39
34
* There is no documentation for the core RNGs.
40
35
41
36
## Plans
@@ -44,9 +39,7 @@ It is essentially complete. There are a few rough edges that need to be smoothe
44
39
* Document core RNG classes
45
40
* Pickling support
46
41
* Verify entropy based initialization is missing for some RNGs
47
- * Integrate a patch for PCG-64 that allows 32-bit platforms/Windows to be supported
48
- * Additional refactoring where possible
49
- * Build on Windows 2.6/7 and 3.3/4
42
+ * Add direct access to the system cryptographic random number generator
50
43
* Multiple stream support for MLFG and MRG32K3A
51
44
* Creation of additional streams from a RandomState where supported (i.e.
52
45
a ` next_stream() ` method)
@@ -61,13 +54,13 @@ Building requires:
61
54
** Note:** it might work with other versions but only tested with these
62
55
versions.
63
56
64
- So far all development has been on Linux. It has been tested (in a limited
65
- manner, mostly against crashes and build failures) on Linux 32 and 64 -bit,
66
- as well as OSX 10.10, PC-BSD 10.2 (should also work on Free BSD) and Windows
67
- (Python 3.5 ).
57
+ All development has been on 64-bit Linux, and it is regularly tested on
58
+ Travis-CI. The library is occasionally tested on Linux 32-bit, OSX 10.10 ,
59
+ PC-BSD 10.2 (should also work on Free BSD) and Windows (Python 2.7/3.5,
60
+ both 32 and 64-bit ).
68
61
69
62
Basic tests are in place for all RNGs. The MT19937 is tested against NumPy's
70
- implementation for identical results.
63
+ implementation for identical results. It also passes NumPy's test suite.
71
64
72
65
## Installing
73
66
0 commit comments