This file is indexed.

/usr/share/doc/ruby-gsl/examples/fit/polyfit.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
#!/usr/bin/env ruby
require("gsl")

x = GSL::Vector[0.0, 0.3, 0.8, 1.1, 1.6, 2.3]
y = GSL::Vector[0.5, 0.82, 1.14, 1.25, 1.35, 1.40]
coef, cov, chisq, status = GSL::MultiFit.polyfit(x, y, 2)
p coef
x2 = GSL::Vector.linspace(0, 2.5, 20)
GSL::graph([x, y], [x2, coef.eval(x2)], "-C -g 3 -S 4 -X X -Y Y")