From: Jason Lillywhite Date: 2009-05-08T12:59:22+09:00 Subject: using the GSL library I'm trying to get started with the gsl-ruby library - thought I'd start with calculating mean of an array. I'm following the example on http://rb-gsl.rubyforge.org/stats.html. But I run into this: require("gsl") => true irb(main):002:0> v = Vector[1..7] NameError: uninitialized constant Vector from (irb):2 Isn't Vector in the core?... so I did this irb(main):003:0> require 'matrix' => true irb(main):004:0> v = Vector[1..7] => Vector[1..7] irb(main):005:0> v.mean NoMethodError: undefined method `mean' for Vector[1..7]:Vector from (irb):5 It appears my GSL is not installed or something....? I would really appreciate some guidance. Thank you. I have installed libgsl-ruby1.8, libgsl0ldbl, libgsl-ruby, and gsl-bin -- Posted via http://www.ruby-forum.com/.