RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Calculating the Pearson correlation coefficient using Ruby and the GNU Scientific Library

In this article I show how to use scientific libraries in your ruby code. As an example I replace some inline C code in the acts_as_recommendable Rails plugin with a single-line call to the GNU Scientific Library using rb-gsl.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in