File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 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.
2121
2222
2323## How to use it?
24+
2425Run with configuratino file settings:
2526``` bash
2627$ ./gen_rand.py
2728```
29+
2830To increase the number of random values:
2931``` bash
30- $ ./gen_rand.py n=10
32+ $ ./gen_rand.py n=10
3133```
3234
3335To use a uniform distribution:
3436``` bash
35- $ ./gen_rand.py distr=uniform
37+ $ ./gen_rand.py distr=uniform
3638```
3739
3840To use a uniform distribution between -1 and 0:
3941``` 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
4143```
4244
4345To use a different configuration file:
@@ -53,6 +55,8 @@ To perform multiple runs with different parameter values:
5355``` bash
5456$ ./gen_rand.py -m distr=uniform,gauss
5557```
58+ Note that if multiple parameters are to be varied, the Cartesian product of
59+ the values will be used.
5660
5761To view the configuration settings, e.g., for debugging:
5862``` bash
You can’t perform that action at this time.
0 commit comments