@@ -70,6 +70,7 @@ cdef extern from "randomkit.h":
70
70
MCG59 = 7
71
71
PHILOX4X32X10 = 8
72
72
NONDETERM = 9
73
+ ARS5 = 10
73
74
74
75
void irk_fill (void * buffer , size_t size , irk_state * state ) nogil
75
76
@@ -873,6 +874,7 @@ _brng_dict = {
873
874
'NONDETERM' : NONDETERM ,
874
875
'NONDETERMINISTIC' : NONDETERM ,
875
876
'NON_DETERMINISTIC' : NONDETERM ,
877
+ 'ARS5' : ARS5
876
878
}
877
879
878
880
_brng_dict_stream_max = {
@@ -886,6 +888,7 @@ _brng_dict_stream_max = {
886
888
MCG59 : 1 ,
887
889
PHILOX4X32X10 : 1 ,
888
890
NONDETERM : 1 ,
891
+ ARS5 : 1 ,
889
892
}
890
893
891
894
cdef irk_brng_t _default_fallback_brng_token_ (brng ):
@@ -973,8 +976,8 @@ cdef class RandomState:
973
976
If `seed` is ``None``, then `RandomState` will try to read data from
974
977
``/dev/urandom`` (or the Windows analogue) if available or seed from
975
978
the clock otherwise.
976
- brng : {'MT19937', 'SFMT19937', 'MT2203', 'R250', 'WH', 'MCG31',
977
- 'MCG59 ', 'MRG32K3A ', 'PHILOX4X32X10 ', 'NONDETERM '}, optional
979
+ brng : {'MT19937', 'SFMT19937', 'MT2203', 'R250', 'WH', 'MCG31', 'MCG59',
980
+ 'MRG32K3A ', 'PHILOX4X32X10 ', 'NONDETERM ', 'ARS5 '}, optional
978
981
Basic pseudo-random number generation algorithms, provided by
979
982
Intel MKL. The default choice is 'MT19937' - the Mersenne Twister.
980
983
@@ -1023,7 +1026,8 @@ cdef class RandomState:
1023
1026
Seed for `RandomState`.
1024
1027
Must be convertible to 32 bit unsigned integers.
1025
1028
brng : {'MT19937', 'SFMT19937', 'MT2203', 'R250', 'WH', 'MCG31',
1026
- 'MCG59', 'MRG32K3A', 'PHILOX4X32X10', 'NONDETERM', None}, optional
1029
+ 'MCG59', 'MRG32K3A', 'PHILOX4X32X10', 'NONDETERM',
1030
+ 'ARS5', None}, optional
1027
1031
Basic pseudo-random number generation algorithms, provided by
1028
1032
Intel MKL. Use `brng==None` to keep the `brng` specified to construct
1029
1033
the class instance.
0 commit comments