No Description

Dmitry Yu Okunev 07e0780bb8 Added result.csv 2 years ago
.gitignore aa7c62068f Initial commit 2 years ago
Makefile aa7c62068f Initial commit 2 years ago
README.md 07e0780bb8 Added result.csv 2 years ago
main.c 07e0780bb8 Added result.csv 2 years ago
result.csv 07e0780bb8 Added result.csv 2 years ago

README.md

$ ./test 1 | tail -3
average:                        1
average derivation:             0.734000
average relative derivation:    0.734000
$ for c in {1..100}; do echo -n "$c;"; ./test $c | tail -1 | awk '{print $4}'; done | tr ";" "\t" > result.csv

result.csv:

1	0.738667
2	0.546000
3	0.452889
4	0.393667
5	0.355200
6	0.317222
7	0.303524
8	0.279917
9	0.259704
10	0.247867
11	0.243939
12	0.229000
13	0.217077
14	0.215190
15	0.207289
16	0.196833
17	0.192980
18	0.187926
19	0.179298
20	0.178567
…