/usr/share/doc/ruby-gsl/examples/random/rngextra.rb is in ruby-gsl 2.1.0.3+dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/env ruby
require("gsl")
r1 = GSL::Rng.alloc(GSL::Rng::RNGEXTRA_RNG1)
p r1.name
p r1.uniform
p r1.gaussian
r2 = GSL::Rng.alloc("rngextra_rng2")
p r2.name
p r2.get
p r2.get
p r2.uniform
p r2.poisson(3)
|