File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,25 @@ multiruns and so on.
21
21
22
22
23
23
## How to use it?
24
+
24
25
Run with configuratino file settings:
25
26
``` bash
26
27
$ ./gen_rand.py
27
28
```
29
+
28
30
To increase the number of random values:
29
31
``` bash
30
- $ ./gen_rand.py n=10
32
+ $ ./gen_rand.py n=10
31
33
```
32
34
33
35
To use a uniform distribution:
34
36
``` bash
35
- $ ./gen_rand.py distr=uniform
37
+ $ ./gen_rand.py distr=uniform
36
38
```
37
39
38
40
To use a uniform distribution between -1 and 0:
39
41
``` bash
40
- $ ./gen_rand.py distr=uniform distr.a=-1.0 distr.b=0.0
42
+ $ ./gen_rand.py distr=uniform distr.a=-1.0 distr.b=0.0
41
43
```
42
44
43
45
To use a different configuration file:
@@ -53,6 +55,8 @@ To perform multiple runs with different parameter values:
53
55
``` bash
54
56
$ ./gen_rand.py -m distr=uniform,gauss
55
57
```
58
+ Note that if multiple parameters are to be varied, the Cartesian product of
59
+ the values will be used.
56
60
57
61
To view the configuration settings, e.g., for debugging:
58
62
``` bash
You can’t perform that action at this time.
0 commit comments