-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrand.py
42 lines (39 loc) · 1.03 KB
/
xrand.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import _xrand
# wanted this online asap...
# this is temporary until everything is squished directly into the ext module
rng = _xrand.Random()
choices = rng.choices
dice = rng.dice
flip = rng.flip
flips = rng.flips
iter_beta = rng.iter_beta
iter_expo = rng.iter_expo
iter_gamma = rng.iter_gamma
iter_log_normal = rng.iter_log_normal
iter_normal = rng.iter_normal
iter_pareto = rng.iter_pareto
iter_triangular = rng.iter_triangular
iter_uniform = rng.iter_uniform
iter_vonmises = rng.iter_vonmises
iter_weibull = rng.iter_weibull
jump = rng.jump
rand_bits = rng.rand_bits
rand_bytes = rng.rand_bytes
rand_float = rng.rand_float
rand_index = rng.rand_index
rand_int = rng.rand_int
rv_beta = rng.rv_beta
rv_expo = rng.rv_expo
rv_gamma = rng.rv_gamma
rv_log_normal = rng.rv_log_normal
rv_normal = rng.rv_normal
rv_pareto = rng.rv_pareto
rv_triangular = rng.rv_triangular
rv_uniform = rng.rv_uniform
rv_vonmises = rng.rv_vonmises
rv_weibull = rng.rv_weibull
sample = rng.sample
select = rng.select
shuffle = rng.shuffle
shufled = rng.shuffled
split = rng.split