Compare distribution of three random integer algorithm from random bytes.
c
sadrand
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.

123456
  1. #!/usr/bin/gnuplot -p
  2. plot \
  3. "/tmp/rnd.dat" using 1:2 w l t "std-rand" lt rgb "green" \
  4. ,"/tmp/rnd.dat" using 1:3 w l t "mod-rand" lt rgb "blue" \
  5. , "/tmp/rnd.dat" using 1:4 w l t "prop-rand" lt rgb "red" \