@@ -18,10 +18,21 @@ What's New or Different
1818
1919.. ipython :: python
2020
21- from randomstate import standard_normal, standard_exponential
22- x = standard_normal(100000 , method = ' zig' )
23- y = standard_exponential(100000 , method = ' zig' )
24- z = standard_gamma(100000 , method = ' zig' )
21+ from randomstate.prng.xoroshiro128plus import standard_normal
22+ % timeit standard_normal(1000000 , method = ' bm' )
23+ % timeit standard_normal(1000000 , method = ' zig' )
24+
25+ .. ipython :: python
26+
27+ from randomstate.prng.xoroshiro128plus import standard_exponential
28+ % timeit standard_exponential(1000000 , method = ' inv' )
29+ % timeit standard_exponential(1000000 , method = ' zig' )
30+
31+ .. ipython :: python
32+
33+ from randomstate.prng.xoroshiro128plus import standard_gamma
34+ % timeit standard_gamma(3.0 , 1000000 , method = ' inv' )
35+ % timeit standard_gamma(3.0 , 1000000 , method = ' zig' )
2536
2637 * Optional ``dtype `` argument that accepts ``np.float32 `` or ``np.float64 ``
2738 to produce either single or double prevision uniform random variables for
@@ -34,12 +45,11 @@ What's New or Different
3445
3546.. ipython :: python
3647
37- import numpy as np
3848 import randomstate as rs
3949 rs.seed(0 )
40- rs.random_sample(3 , dtype = np.float64 )
50+ rs.random_sample(3 , dtype = ' d ' )
4151 rs.seed(0 )
42- rs.random_sample(3 , dtype = np.float32 )
52+ rs.random_sample(3 , dtype = ' f ' )
4353
4454 * Optional ``out `` argument that allows existing arrays to be filled for
4555 select distributions
0 commit comments