This file is indexed.

/usr/share/doc/ruby-gsl/examples/blas/dnrm2.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
15
16
#!/usr/bin/env ruby
require("gsl")
include Math

m = GSL::Matrix.alloc(10, 10)
for i in 0...10
  for j in 0...10
    m.set(i, j, sin(i) + cos(j))
  end
end

for j in 0...10
  col = m.col(j)
  d = GSL::Blas.dnrm2(col)
  printf("matrix column %d, norm = %g\n", j, d)
end