/usr/share/doc/ruby-gsl/examples/blas/level3.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 | #!/usr/bin/env ruby
require("gsl")
include GSL::Blas
a = GSL::Matrix.alloc([1, 5], [4, 6])
b = GSL::Matrix.alloc([10, 2], [3, 8])
c = GSL::Matrix.alloc(2, 2)
p GSL::Blas.dgemm(NoTrans, NoTrans, 1, a, b, 1, c)
p GSL::Blas.dgemm(a, b)
p a*b
|