Compare distribution of three random integer algorithm.
sadrand
rust
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011
  1. #!/bin/sh
  2. cargo run --release -- $* | 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. #'