This file is indexed.

/usr/share/doc/ruby-gsl/examples/linalg/QR_solve_narray.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")
require 'narray'
include GSL

m = NMatrix[[0.18, 0.60, 0.57, 0.96], [0.41, 0.24, 0.99, 0.58],
           [0.14, 0.30, 0.97, 0.66], [0.51, 0.13, 0.19, 0.85]]
qr, tau = Linalg::QR.decomp(m)

p qr, tau

b = NVector[1.0, 2, 3, 4]

p Linalg::QR.solve(qr, tau, b)