Compare distribution of three random integer algorithm from random bytes.
c
sadrand
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

runplot.sh 289B

1234567891011
  1. #!/bin/sh
  2. ./sadrand $* | tee /tmp/rnd.dat \
  3. && ./plot.gp
  4. #gnuplot -p -e '
  5. # set key left bottom;
  6. # plot
  7. # "/tmp/rnd.dat" using 1:2 w l t "std-rand" lt rgb "green"
  8. # ,"/tmp/rnd.dat" using 1:3 w l t "mod-rand" lt rgb "blue"
  9. # , "/tmp/rnd.dat" using 1:4 w l t "prop-rand" lt rgb "red"
  10. #'