Tools for Scientific Computing in Ruby

Welcome Google Summer of Code Students!

We are incredibly grateful to be included in Google Summer of Code 2014, our second year participating in GSoC.

Google Summer of Code 2014 logo

Interested students should check out Colin Fuller’s blog post about GSoC 2014. Applications are competitive, so we suggest you get started as soon as possible.

If you are a mentor and would like to get involved, please check in with us in the Google Group.

SciRuby is fully committed to diversity in open source science. If you know of a student who you think might not know to apply for GSoC and think they’d like working on the SciRuby Project, please get in touch.

The SciRuby Manifesto

Ruby has for some time lacked libraries implementing the basic tools needed for scientific computing and data visualization.

We believe that the time for a Ruby science and visualization package has come. Sometimes when a solution of sugar and water becomes super-saturated, from it precipitates a pure, delicious, and diabetes-causing crystal of sweetness, induced by no more than the tap of a finger. So it is, we believe, with the need for numeric and visualization libraries in Ruby.

SciRuby logo

We are not the first with this idea, but we are bringing it to life.

Project Status

We are nearing our first beta release of NMatrix, the SciRuby linear algebra library. NMatrix includes both dense and sparse matrix storage, and we are working on including full ATLAS and LAPACK support.

Subscribe to the SciRuby Google Group

To subscribe to our Google Group, please enter your email below.

Getting SciRuby

Word to the wise: These gems have been tested, but are not battle-hardened. If you’re thinking of using NMatrix (or other SciRuby components) to write mission critical code, such as for a self-driving car or controlling an ARKYD 100 satellite, you should expect to encounter a few bugs — and be prepared for them.

Instructions for installing various SciRuby components are available in our docs.

You can find our NMatrix documentation here.


You can find the full roster on our project wiki.

Want to get involved?

Say you have a few hours and are itching to get your hands dirty. The best place to look right now is the NMatrix issue tracker on Github. Pick something that interests you and fork us!

You might also check out the SciRuby issue tracker if matrices don’t interest you much.


SciRuby and NMatrix are available under the BSD two-clause license.


  • Google Summer of Code 2013, our mentors, and our four excellent students.
    Google Summer of Code 2013
  • Brighter Planet for their sponsorship of our first ever SciRuby Summer of Code in 2012. Brighter Planet logo
  • JetBrains has kindly provided our project with an open source license for RubyMine. Can’t code withoutCan't code without
  • The Ruby Association generously awarded us with a rather large grant to fund a couple of SciRuby fellows in 2012 and 2013. Thanks, Ruby Association!
  • Symora Networks gave a major portion of the funding toward our eventual application for 501(c)(3) (U.S. educational charity) status.
    Symora Networks logo
  • Masahiro Tanaka, the creator of NArray, without which NMatrix would not be possible.
  • The several individual donors to our project.