Unfortunately, Ruby is not very far from mathematical and scientific calculations. There is currently a preliminary alpha library called SciRuby , which is trying to bring more math related features to Ruby. They are trying to build the equivalent of NumPy / SciPy. A few projects that are under SciRuby using an example:
Each project presents various examples of how to start / contribute. A good place to start is their documents and their mailing list.
Hope this helps.
source share