-------------------------------1149632803
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Dear all,
I've installed Rb-gsl for the Ruby-one click installer,
and tried GSL::Rng.new.uniform to get a random number.
This works, but always gives the same number:
require "gsl"
res
for k in 0..20
res<<GSL::Rng.new.uniform
end
p res
>res .999741748906672, 0.999741748906672, 0.999741748906672,
0.999741748906672, 0.999741748906672, 0.999741748906672, 0.999741748906672,
0.999741748906672, 0.999741748906672, 0.999741748906672, 0.999741748906672,
0.999741748906672, 0.999741748906672, 0.999741748906672, 0.999741748906672,
0.999741748906672, 0.999741748906672, 0.999741748906672, 0.999741748906672,
0.999741748906672, 0.999741748906672]
Why ?
Thank you,
best regards,
Axel
-------------------------------1149632803--