Closed czarcar closed 9 years ago
This is to be expected:
If the generator is seeded with the same value of
s
on two different runs, the same stream of random numbers will be generated by successive calls to the routines below. If different values ofs >= 1
are supplied, then the generated streams of random numbers should be completely different.
https://www.gnu.org/software/gsl/manual/html_node/Random-number-generator-initialization.html
Library version: 1.15.3 Ruby version: 1.9.1 OS: Ubuntu 14.04
Each time I want to get a random number each new instance generates the same set. Verified by running /examples/random/gaussian.rb several times. The graph always looks exactly the same.
My test:
Am I misunderstanding something?