/usr/share/doc/ruby-gsl/examples/poly/eval_derivs.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 | #!/usr/bin/env ruby
require("gsl")
poly = [1, 2, 3]
p GSL::Poly::eval_derivs(poly, 1) # Returned Array
poly = NArray[1.0, 2, 3]
p GSL::Poly::eval_derivs(poly, 1) # Returned NArray
poly = GSL::Poly.alloc([1, 2, 3]) # Returned GSL::Poly
p GSL::Poly::eval_derivs(poly, 1)
p poly.eval_derivs(1, 3)
|